Skip to main content

Module nats

Module nats 

Source
Available on crate features source-nats and source-rest only.

Modules§

config
Configuration for the NATS source.
stream
NatsSource — the NATS consumer implementation (the one module that does I/O).

Structs§

NatsConnectionConfig
Connection settings shared by the NATS source and sink.
NatsSource
A source that drains messages from a NATS subject (or a JetStream durable consumer) and emits each payload as a JSON record.
NatsSourceConfig
Configuration for NatsSource.

Enums§

FaucetError
All possible errors returned by faucet-stream.
NatsAuth
NATS client authentication configuration.

Traits§

Source
A source fetches records from an external system.