[zeromq-dev] PUB doesn't discard msg when no SUB
Maciej.Gajewski at tibra.com
Fri May 27 10:04:27 CEST 2011
Can you emulate this behavior by setting HWM to near-zero on the PUB socket?
Tibra Trading Europe
Telephone: +44 203 100 9261
Email: maciej.gajewski at tibra.com
From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Martin Sustrik
Sent: Thursday, May 26, 2011 8:44 PM
To: ZeroMQ development list
Cc: Chuck Remes
Subject: Re: [zeromq-dev] PUB doesn't discard msg when no SUB
On 05/26/2011 09:27 PM, Chuck Remes wrote:
>> So, what I did to make the behaviour more user friendly was to create a
>> "queue" as soon az zmq_connect() is called. It is then attached to the
>> actual network connection when it is established.
> Please don't change this behavior.
I won't :)
I've added it because people were complaining, so it's not going away.
However, if people feel the other behaviour is desirable as well, maybe
a socket option could help?
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
Tibra Trading Europe Limited is Authorised and Regulated by the FSA (Company No. 06061713)
Tibra Global Services Pty Limited London Branch (Company No. BR014370)
Tibra Equities Europe Limited (Company No. 07283912)
Registered in England & Wales - Level 11, 5 Aldermanbury Square London EC2V 7HR
The contents of this email including any attachments are confidential. If you have received this email in error, please advise the sender by return email and delete this email. Any unauthorised use of the contents of the email is prohibited and you must not disseminate, copy or distribute the message or use the information contained in the email or its attachments in any way.
The views or opinions expressed are the author's own and may not reflect the views or opinions of Tibra. Tibra does not guarantee the integrity of any emails or attached files. E-mails may be interfered with, may contain computer viruses or other defects. Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachments.
More information about the zeromq-dev