I have created Rabbitmq autocluster with 3 Pods in Kubernetes according to public repository: https://github.com/kuberstack/kubernetes-rabbitmq-autocluster
Messages in queue don't survive Pod restarts in the following basic scenario:
- Create durable queue "test"
- Send message to queue "test"
- Wait 10 minutes and delete pod 1.
- Wait 10 minutes and delete pod 2.
- Wait 10 minutes and delete pod 3.
- List queues.
After deleting all 3 pods, queue "test" always doesn't exist. After each pod deletion, cluster is working properly, I can send and receive new messages.
It looks like Rabbitmq doesn't replicate existent messages to new pods. How can I force Rabbitmq to share all messages with new pods?
Many Thanks,
RabbitMq Startup Logs: Log file