Repeating basic consumer creates many segment files on empty quorum queue
397 views
Skip to first unread message
Glenn Goffin
unread,
Jun 10, 2022, 10:38:27 AM6/10/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rabbitmq-users
Hello Everyone
I'm hoping for somebody can point me in the right direction as I'm experiencing a strange issue in RabbitMQ single node clusters which all have the same behaviour. TL;DR; Repeating basic consumer creates many segment files on empty quorum queue.
Environment RabbitMQ 3.9.7 Erlang 24.1 docker.io/bitnami/rabbitmq:3.9.7-debian-10-r0 Producer spring-rabbit-2.3.10.jar Consumer rabbitmq-c-0.11.0 (embedded C) Queue D02544FFFE1EF43A > see config Issue Scenario
The producer sends two messages to the RabbitMQ queue D02544FFFE1EF43A
The consumer receives the two messages
The consumer reconnects every 10 seconds (The producer doesn't send any message)
After 1 day the queue storage increases with +- 9Mb (See Screenshot)
Queue messages are 0
Resolutions
Manually purging the queue deletes the segment files
When the producer sends a message all the segment files are deleted
Question
Is there any way to automatically delete these segment files? Or change the policy?