Publish to an NSQ topic.
output:nsq:nsqd_tcp_address: localhost:4150topic: benthos_messagesuser_agent: benthos_producermax_in_flight: 1
topic field can be dynamically set using function interpolations
described here. When sending
batched messages these interpolations are performed per message part.
This output benefits from sending multiple messages in flight in parallel for
improved performance. You can tune the max number of in flight messages with the
string The address of the target NSQD server.
string The topic to publish to.
This field supports interpolation functions.
string A user agent string to connect with.
object Custom TLS settings can be used to override system defaults.
bool Whether custom TLS settings are enabled.
bool Whether to skip server side certificate verification.
string The path of a root certificate authority file to use.
array A list of client certificates to use.
# Examplesclient_certs:- cert: fookey: barclient_certs:- cert_file: ./example.pemkey_file: ./example.key
number The maximum number of messages to have in flight at a given time. Increase this to improve throughput.