[rabbitmq-discuss] Reconnection strategies in Pika

Marek Majkowski majek04 at gmail.com
Tue Jul 26 16:57:54 BST 2011


On Tue, Jul 26, 2011 at 16:08, Gavin M. Roy <gmr at myyearbook.com> wrote:
> The SimpleReconnectionStrategy implementation was to on disconnect, have a
> incrementally delayed attempt to reconnect to the broker. I believe there's
> a ticket with this being broken in 0.9.5, I need to confirm that's the case.

Stupid question: what happens after reconnection succeeds, is
the user informed in any way? What happens to things
waiting on basic_consume and such?


> On Tuesday, July 26, 2011 at 9:45 AM, Marek Majkowski wrote:
>
> 2011/7/22 Alex Grönholm <alex.gronholm at nextday.fi>:
>
> I never quite grasped what these are for. Their use is not documented, and
> they seem to have no effect on connections. When a connection dies, pika
> dies too regardless of whether I have a connection strategy in place or not.
> Could someone clarify this?
>
> I suspect, the idea was to support automatic reconnections. But this
> is quite hard in AMQP world (that's a polite way of saying "impossible").
>
> I wouldn't be surprised to hear that that feature was never finished.
>
> That's my guess, I haven't looked at the code.
>
> Cheers,
> Marek
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>


More information about the rabbitmq-discuss mailing list