Hi, Automatic reconnection only considers topology (obviously it is implemented on the client side). As far as I remember, subscriptions are preserved on reconnect (because it is a socket option), and message queues - I think, they are destroyed, unless socket identity is set. On Jul 23, 2013 1:31 PM, "Merijn Verstraaten" <[email protected]> wrote:
> Hello! > > Lines like "• SHALL create a queue when a subscriber connects to it. If > this subscriber disconnects, the PUB socket SHALL destroy its queue and > SHALL discard any messages it contains." from the PUBSUB RFC lead me to > believe that while the protocol dictates automatic reconnects upon > connection loss, the listening side is not required to maintain state? > > i.e., the only socket maintaining state about (like subscriptions, queued > messages, etc.) is the connecting socket, correct? > > Cheers, > Merijn > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
