[rabbitmq-discuss] active-active implementation in php
harvey.robin at gmail.com
Tue Jan 3 20:03:24 GMT 2012
Alvaro - does php-amqplib support incoming consumer cancels?
Out of interest, how does the client know where to re-connect to when a
queue fails (i.e. which slave got promoted)? I've seen the following
> Clients that were consuming from the mirrored-queue and support our Consumer
will receive a notification that their subscription to the
mirrored-queue has been abruptly cancelled. At this point they should
re-consume from the queue, which will pick up the new master
...but this doesn't give much detail. Are the reconnection parameters in
the consumer.cancel method?
On 3 January 2012 15:07, Alvaro Videla <videlalvaro at gmail.com> wrote:
> Yes… it should support the arguments parameter.
> BTW… I recommend that you use this version of the library:
> https://github.com/videlalvaro/php-amqplib for the reasons stated here:
> On Tue, Jan 3, 2012 at 4:00 PM, Emile Joubert <emile at rabbitmq.com> wrote:
>> Hi Dhaneesh,
>> On 30/12/11 04:25, Dhaneesh Radhakrishnan wrote:
>> > Hi
>> > Is it possible to implement Mirrored Queue ( active-active )using
>> > php-ampliqb for
>> > HA
>> Judging by the queue_declare() function, php-amqplib does support
>> arguments, so it is possible to make use of mirrored queues using this
>> See http://www.rabbitmq.com/ha.html for details on how to set the
>> "x-ha-policy" argument.
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss