I have a ZeroMQ subscriber application written in Java using JeroMQ 0.5.2.
In the code, I subscribe to multiple topics like that:
Socket subscriber = context.createSocket(SocketType.SUB);
subscriber.connect("tcp://127.0.0.1:2770");
subscriber.subscribe("DAX");
subscriber.subscribe("AD");
I see the messages starting with DAX and AD when I run my subscriber but it seems that some messages are missing in multiple filter case because when I subscribe to only DAX or only AD, I see tons of update messages. When I subscribe to both topics I see little of them for DAX, most of the update messages are missing.
Is there something wrong with my snippet?