[zeromq-dev] Question about the PUBSUB design pattern when server restarts.
Martin Sustrik
sustrik at 250bpm.com
Mon Nov 15 16:38:15 CET 2010
On 11/15/2010 04:34 PM, Chuck Remes wrote:
>
> On Nov 15, 2010, at 9:27 AM, Martin Sustrik wrote:
>
>> On 11/15/2010 02:18 PM, Chuck Remes wrote:
>>
>>> I discussed this issue with Janak on IRC. When he says that the
>>> publisher "stops" he means that the process goes down. Two minutes
>>> later he restarts it but the subscribers do not see any further
>>> messages.
>>
>> This looks like a bug. Janak, can you provide a minimal test program?
>
> That's a bug? Wow... I guess I gave Janak bad advice. In my experience this has *never* worked with the 2.0.x or 2.1.x series so I thought it was normal. :)
Depends what you mean by further messages. The messages sent after the
restart of the publisher and reconnection of the subscribers should be
delivered. Obviously, subscribers can miss some messages that were sent
while they were reconnecting.
Martin
More information about the zeromq-dev
mailing list