urls | []string | no | no | A list of URLs to connect to. If an item of the list contains commas it will be expanded into multiple URLs. |
subject | string | no | no | A subject to consume from. Supports wildcards for consuming multiple subjects. Either a subject or stream must be specified. |
queue | string | yes | no | An optional queue group to consume as. |
auto_replay_nacks | bool | yes | no | Whether messages that are rejected (nacked) at the output level should be automatically replayed indefinitely, eventually resulting in back pressure if the cause of the rejections is persistent. If set to false these messages will instead be deleted. Disabling auto replays can greatly improve memory efficiency of high throughput streams as the original shape of the data can be discarded immediately upon consumption and mutation. The value defaults to true . |
send_ack | bool | yes | no | Control whether ACKS are sent as a reply to each message. When enabled, these replies are sent only once the data has been delivered to all outputs. The value defaults to true . |
nak_delay | string | yes | no | An optional delay duration on redelivering a message when negatively acknowledged. |
prefetch_count | int | yes | no | The maximum number of messages to pull at a time. The value defaults to 524288 . |
auth | auth | yes | no | Optional configuration of NATS authentication parameters. |