The zmq4 output type attempts to send messages to a ZMQ4 port, currently only PUSH and PUB sockets are supported.
output:zmq4:urls:- tcp://*:5556bind: truesocket_type: PUSHpoll_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
array 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
bool Whether the URLs listed should be bind (otherwise they are connected to).
string The socket type to send with.
number The message high water mark to use.
string The maximum period of time to wait for a message to send before the request is abandoned and reattempted.