[zeromq-dev] regarding pub/sub pattern: setting filter at subscribe side
Liu, Xuan (UMKC-Student)
xuan.liu at mail.umkc.edu
Fri Oct 30 16:07:30 CET 2015
Hello,
I'm new to ZeroMQ and I'm trying out the publisher-subscriber examples. From the examples, it seems like the filter to be set is matching the first field (zip code in the weather example, i.e., wuclient.java), or the single key used in the clonecli1.java.
Is it possible that I set a filter that matches a text or field in the middle of the message, or it has to be something like a prefix of the message? Second question is that can a publisher publish a JSON-like message, for example: {key1: value1, key2: value2, key3: value3}, if so, can I set the filter as any of the key within the JSON message?
Thanks,
-- Xuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20151030/886e95d4/attachment.htm>
More information about the zeromq-dev
mailing list