Expand description
Configuration for connecting to NATS.
Structs§
- Command
Retention Config - Retention limits for command request-reply streams.
- Consumer
Config - Controls JetStream consumer behaviour: acknowledgment window, backpressure, poison-pill protection, and internal buffer sizes.
- Message
BusConfig - Message-bus tuning carried by a live connection.
- Nats
Client Tls - Options for client TLS authentication with NATS
- Nats
Configuration - Configuration for connecting to NATS.
Enums§
- Nats
Configuration Error - Errors that can occur while building or connecting the NATS client.
- Stream
Retention Config - Controls how long messages are retained in a JetStream stream.
Constants§
- DEFAULT_
COMMAND_ PREFETCH - How many commands one responder pulls from the broker ahead of handling them.
- DEFAULT_
MAX_ ACK_ PENDING - How many messages the broker will have unacknowledged with one consumer.
- DEFAULT_
MAX_ DELIVER - How many times a message is redelivered before the broker gives up on it.
- DEFAULT_
STREAM_ BUFFER_ SIZE - Capacity of the channel between a subscription’s background forward task and
its consumer-facing stream, when
ConsumerConfig::stream_buffer_sizeisNone.