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§
- Nats
Connection Config - Connection settings shared by the NATS source and sink.
- Nats
Source - A source that drains messages from a NATS subject (or a JetStream durable consumer) and emits each payload as a JSON record.
- Nats
Source Config - Configuration for
NatsSource.
Enums§
- Faucet
Error - All possible errors returned by faucet-stream.
- Nats
Auth - NATS client authentication configuration.
Traits§
- Source
- A source fetches records from an external system.