bpaquet / node-logstash

Simple logstash implmentation in nodejs : file log collection, sent with zeromq
Other
517 stars 141 forks source link

Rabbitmq plugin flushes all data #97

Open iemem15 opened 9 years ago

iemem15 commented 9 years ago

When sending data to a Load Balancer or directly to a rabbitmq server, when there's a disconnection all the data is lost, or even when an error happens in rabbitmq. When the channel disconnects retry to connect, and connects again, but never send data.

Do you know why? Thanks in advance.

bpaquet commented 9 years ago

There is no queuing or retry in amqplib.

Can you check this question : http://stackoverflow.com/questions/27778156/amqp-node-wont-detect-a-connection-drop .

On Wed, Apr 1, 2015 at 7:07 PM, iemem15 notifications@github.com wrote:

When sending data to a Load Balancer or directly to a rabbitmq server, when there's a disconnection all the data is lost, or even when an error happens in rabbitmq. When the channel disconnects retry to connect, and connects again, but never send data.

Do you know why? Thanks in advance.

— Reply to this email directly or view it on GitHub https://github.com/bpaquet/node-logstash/issues/97.

iemem15 commented 9 years ago

Hi Not necessarly, For Example the tests that we have made are, sending the data, then for example block from the load balancer, there's no timeout, the amqp library reconnect, I see that, but all the data is lost. Ther's no timeout there...