Define x-queue-type for a celery task

1,059 views
Skip to first unread message

S DevinK

unread,
Sep 18, 2021, 10:04:30 AM9/18/21
to rabbitmq-users
I created a 3-node RabbitMQ cluster and a quorum queue runs on it. I'm trying to access it from celery and already defined exchange and bind values. But I get an error like this,

 raise error_for_code(
amqp.exceptions.PreconditionFailed: Queue.declare: (406) PRECONDITION_FAILED - inequivalent arg 'x-queue-type' for queue 'Replica_que' in vhost '/': received none but current is the value 'quorum' of type 'longstr'

How do I access a quorum queue from celery? 

Michal Kuratczyk

unread,
Sep 20, 2021, 4:34:24 AM9/20/21
to rabbitm...@googlegroups.com
Hi,

That's more of a Celery question: https://github.com/celery/celery/issues/6067

Best,

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/9e4fb739-3db6-44fe-8bdd-fffbdc30585an%40googlegroups.com.


--
Michał
RabbitMQ team
Reply all
Reply to author
Forward
0 new messages