logstash/logstash — pull request #976 by rtkmhart (2014-01-23 20:07:50+00:00)
Title: Added retry logic to zeromq

If the remote zeromq endpoint goes away, logstash never recovers or tries to reconnect. Also, there is no timeout. This code adds two parameters "retries" and "timeout", and implements them.

To give credit where due, the poller code was borrowed from https://github.com/jondot/roundtrip/blob/feature/0mq_endpoint/examples/zeromq_client.rb