GH-387: update Broker topic names to use "zeek/" prefix

This commit is contained in:
Jon Siwek 2019-05-29 15:56:37 -07:00
parent c25520cf3f
commit 1ce0fcce49
35 changed files with 351 additions and 309 deletions

View file

@ -17,8 +17,8 @@ global ping: event(msg: string, c: count);
event zeek_init()
{
Broker::subscribe("bro/event/my_topic");
Broker::auto_publish("bro/event/my_topic", ping);
Broker::subscribe("zeek/event/my_topic");
Broker::auto_publish("zeek/event/my_topic", ping);
Broker::peer("127.0.0.1", to_port(getenv("BROKER_PORT")));
}
@ -61,8 +61,8 @@ global pong: event(msg: string, c: count);
event zeek_init()
{
Broker::subscribe("bro/event/my_topic");
Broker::auto_publish("bro/event/my_topic", pong);
Broker::subscribe("zeek/event/my_topic");
Broker::auto_publish("zeek/event/my_topic", pong);
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
}