ZeroMQ Topic Filtering with Pub/Sub (Java binding)

DD. picture DD. · May 3, 2012 · Viewed 14.3k times · Source

How can I get ZeroMQ to support topics and pattern matching?

e.g.

stocks.*
stocks.appl

From my understanding ZeroMQ..the topic will be part of the message so I need someway of separating the topic from the actual message in the subscriber. Whats the best way of separating the topic and message? Do you need a special character (e.g. SOH)?

Answer

DD. picture DD. · May 15, 2012

Need to use a pub/sub envelope

Pub-Sub Message Envelopes