giraffi / fluent-plugin-amqp

Use AMQP broker to send or receive messages via FluentD
MIT License
15 stars 31 forks source link

Add automatic failover support for multiple hosts on same cluster #19

Closed warmfusion closed 8 years ago

warmfusion commented 8 years ago

As shown in the updated Readme, this patch allows for multiple hosts to be given to the configuration such that the bunny library will automatically reconnect to a cluster of servers without requiring additional load balancers (and the associated confusion caused by their appearing to be 'online')

Also added myself as an Author ;-)

sawanoboly commented 8 years ago

I see what you mean. https://github.com/ruby-amqp/bunny/blob/86f6da6197a43f87497daaed16fdd42148bc1407/lib/bunny/session.rb#L97-L98

It's good feature.

Also added myself as an Author ;-)

Thank you!

sawanoboly commented 8 years ago

v0.8.0 had been released.

sawanoboly commented 8 years ago

@warmfusion If you like, I'll add you to collaborators of this repo?

I've not using this plugin for currently, although it might use in the future.

warmfusion commented 8 years ago

Sounds good to me - but I'll maintain the pull request model going on, I'm not going to start merging my own stuff into master without peer review.

For reference; I'm using the plugin on ~300 hosts, writing about 1,000 messages a second all day long on a mix of ruby 1 and ruby 2 servers...

sawanoboly commented 8 years ago

OK. I'll maintain the status quo.