[rabbitmq-discuss] Proposed change to shovel
simon at rabbitmq.com
Thu Apr 18 16:23:08 BST 2013
On 18/04/13 16:04, Fred Dushin wrote:
> I would like to consider a change to the shovel plugin, to allow the
> shovel to failover more predictably against the list of broker endpoints
> in the rabbitmq_shovel configuration. Essentially, the idea is to try
> each endpoint in order of the declaration, and to use the first endpoint
> to which a connection can be made, instead of selecting an endpoint at
Why? How is this better than the random selection?
> This does slightly violate the spirit of Erlang's "let it fail"
> philosophy, and I am not sure if the random endpoint selection in the
> current code is really more designed for clustered environments.
Yeah, that's the intention.
> Perhaps it would make more sense to make the iterative failover
> strategy an "opt-in" feature, if not simply for the sake of
We could do that. But I'd like to see a reason for this feature to exist.
More information about the rabbitmq-discuss