Skip to main content

Crate faucet_sink_http

Crate faucet_sink_http 

Source
Expand description

§faucet-sink-http

An HTTP POST sink connector that sends records to an HTTP endpoint, either individually or as a JSON array batch.

Re-exports§

pub use config::HttpBatchMode;
pub use config::HttpSinkAuth;
pub use config::HttpSinkConfig;
pub use sink::HttpSink;

Modules§

config
HTTP sink configuration.
serde_helpers
Serde helper modules for types that don’t implement Serialize/Deserialize natively.
sink
HTTP sink executor.

Enums§

AuthSpec
A connector’s auth: field: either an inline auth definition A (the { type, config } shape), or a { ref: <name> } reference to a shared provider defined in the top-level auth: catalog.
FaucetError
All possible errors returned by faucet-stream.

Traits§

Sink
A sink writes records to an external system.

Type Aliases§

SharedAuthProvider
A shared AuthProvider handle. Cloning it shares the one live provider (and its single token cache) across connectors.