Hi Team,
we have rabbitmq cluster on k8s with following HA configuration:
{"ha-mode":"exactly","ha-params":2}
Spring boot application which uses spring cloud stream connects to the rabbitmq cluster using internal k8s DNS, like:
url: rabbitmq.rabbitmq
The application creates auto-delete=true, exclusive=true with additional argument
x-queue-locator-master:client-local queue, like:
Issue comes when node on which given queue is declared goes down. When node goes down, application tries to declare the same queue on next node however it receives:
method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no queue 'destination.anonymous.xgZpSlDrRdyd3vlO7K_5nw' in vhost '/', class-id=50, method-id=10)
Can you please share whether something on queue declaration or rabbitmq configuration is missing to make it working? Expected behaviour is that application can successfully declare auto-delete=true, exclusive=true queue if previous node on which was declared
went down.
Regards
--
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/650ab40d-11a8-4fc2-a8ca-06962853ce8fn%40googlegroups.com.