Skip to main content

Module nats

Module nats 

Source

Structs§

Auth
ConnectOptions
Options for connecting to a NATS server.
ConsumerConfig
NatsHeader
A header attached to every message published by nats_output.
NatsInputConfig
NatsOutputConfig
Configuration for writing data to a NATS subject with nats_output.
Tls
TLS options for connecting to a NATS server.
UserAndPassword

Enums§

Credentials
DeliverPolicy
NatsMessageId
How nats_output chooses the Nats-Msg-Id header of each message.
ReplayPolicy

Constants§

DEFAULT_MAX_MESSAGE_SIZE_BYTES
Default max message payload when the bound stream’s max_message_size is unset (the server reports -1) and no override is configured: the nats-server default.

Functions§

default_connection_timeout_secs
default_inactivity_timeout_secs
default_publish_timeout_secs
default_request_timeout_secs
default_retry_interval_secs