Structs§
- Auth
- Connect
Options - Options for connecting to a NATS server.
- Consumer
Config - Nats
Header - A header attached to every message published by
nats_output. - Nats
Input Config - Nats
Output Config - Configuration for writing data to a NATS subject with
nats_output. - Tls
- TLS options for connecting to a NATS server.
- User
AndPassword
Enums§
- Credentials
- Deliver
Policy - Nats
Message Id - How
nats_outputchooses theNats-Msg-Idheader of each message. - Replay
Policy
Constants§
- DEFAULT_
CONNECTION_ TIMEOUT - Default time to wait for the initial connection to the NATS server.
- DEFAULT_
INACTIVITY_ TIMEOUT - Default time to wait for the next message before running a health check.
- DEFAULT_
MAX_ MESSAGE_ SIZE_ BYTES - Default max message payload when the bound stream’s
max_message_sizeis unset (the server reports -1) and no override is configured: the nats-server default. - DEFAULT_
PUBLISH_ TIMEOUT - Default time to wait for the server’s publish acknowledgment.
- DEFAULT_
REQUEST_ TIMEOUT - Default time to wait for a response to a NATS request.
- DEFAULT_
RETRY_ INTERVAL - Default delay before the first automatic reconnect attempt.
- DEFAULT_
RETRY_ MAX_ INTERVAL - Default upper bound on the delay between reconnect attempts.