The zmq4 output type attempts to send messages to a ZMQ4 port, currently only PUSH and PUB sockets are supported.
# Common config fields, showing default valuesoutput:label: ""zmq4:urls:- tcp://*:5556bind: truesocket_type: PUSH
# All config fields, showing default valuesoutput:label: ""zmq4:urls:- tcp://*:5556bind: truesocket_type: PUSHhigh_water_mark: 0poll_timeout: 5s
ZMQ4 is supported but currently depends on C bindings. Since this is an annoyance when building or using Benthos it is not compiled by default.
There is a specific docker tag postfix
-cgo for C builds containing
You can also build it into your project by getting libzmq installed on your machine, then build with the tag:
go install -tags "ZMQ4" github.com/Jeffail/benthos/v3/cmd/benthos
A list of URLs to connect to. If an item of the list contains commas it will be expanded into multiple URLs.
# Examplesurls:- tcp://localhost:5556
Whether the URLs listed should be bind (otherwise they are connected to).
The socket type to send with.
The message high water mark to use.
The maximum period of time to wait for a message to send before the request is abandoned and reattempted.