mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

ZeroMQ has global publish subscribe by default, so set that in the zeromq/connect script.
16 lines
308 B
Text
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();
|
|
}
|