Skip to main content

Crate faucet_sink_sftp

Crate faucet_sink_sftp 

Source
Expand description

§faucet-sink-sftp

SFTP sink connector for the faucet-stream ecosystem.

Writes serde_json::Value records to an SFTP server as JSON Lines objects under a remote directory. Writes are atomic — each object is uploaded to a temporary name and renamed into place, so consumers never observe a partial file. Append-only. Connection, authentication, and host-key verification come from faucet-common-sftp.

Re-exports§

pub use config::SftpSinkConfig;
pub use sink::SftpSink;

Modules§

config
SFTP sink configuration.
sink
SFTP sink executor.

Structs§

SftpConnectionConfig
Shared SFTP connection configuration.

Enums§

FaucetError
All possible errors returned by faucet-stream.
HostKeyPolicy
How the server’s host key is verified during the SSH handshake.
SftpAuth
SFTP authentication method.

Traits§

Sink
A sink writes records to an external system.