zeek/scripts/policy/frameworks/cluster/backend/zeromq/connect.zeek
Arne Welzel 5ec8a0457b cluster/zeromq: redef Cluster::enable_global_pub_sub to true
ZeroMQ has global publish subscribe by default, so set that in
the zeromq/connect script.
2025-03-13 16:36:38 +01:00

16 lines
308 B
Text

##! Establish ZeroMQ connectivity with the broker.
@load ./main
@load base/frameworks/cluster
module Cluster::Backend::ZeroMQ;
redef Cluster::enable_global_pub_sub = T;
event zeek_init() &priority=10
{
if ( run_proxy_thread )
Cluster::Backend::ZeroMQ::spawn_zmq_proxy_thread();
Cluster::init();
}