egorulz
egorulz

Reputation: 1505

Message broadcasting in zeroMQ Library without forwarder

Is there a way to do message broadcasting using zeroMQ Library without using the concept of forwarder?

Upvotes: 3

Views: 945

Answers (1)

Pieter Hintjens
Pieter Hintjens

Reputation: 6669

Yes, a PUB socket will broadcast to all connected SUB sockets. The a forwarder (a proxy) is only needed when you want to bridge different networks, e.g. from TCP to PGM multicast, or when you want to add some intelligence to the data flow, e.g. to cache recently-published messages.

Upvotes: 2

Related Questions