Hello!

I believe a 0mq socket will never block, thus it's okay to keep a direct
queue in front of an omzmq3 action.
Is it accurate ?

I plan to use a 0mq PUB socket like this :

action(Type="omzmq3" SockType="PUB" Action="BIND"
Description="tcp://*:11515" SndHWM="1000")

According to 0mq documentation (http://api.zeromq.org/2-1:zmq-socket) :
"When a *ZMQ_PUB* socket enters an exceptional state due to having reached
the high water mark for a *subscriber*, then any messages that would be
sent to the *subscriber* in question shall instead be dropped until the
exceptional state ends. The *zmq_send()* function shall never block for
this socket type."

So, could rsyslog be blocked if something goes "wrong" with the PUB socket?
How?

Thanks!


Philippe Muller
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to