[Bro-Dev] [Broker] multi-topic subscriptions
Matthias Vallentin
vallentin at icir.org
Tue Jun 28 12:27:04 PDT 2016
If a broker endpoint subscribes to multiple topics, how many messages do
you expect to receive? Consider this snippet:
context ctx;
auto e = ctx.spawn<blocking>();
e.subscribe("/foo");
e.subscribe("/foo/bar");
e.subscribe("/foo/bar/baz");
e.publish("/foo/bar/baz", 4.2);
Should the endpoint receive exactly one message or the same message
three times? Personally, I think use exactly-once delivery semantics
would be most intuitive.
Matthias
More information about the bro-dev
mailing list