Unack messages

135 views
Skip to first unread message

Нурлан

unread,
Oct 15, 2020, 1:21:19 AM10/15/20
to rabbitmq-users
Good afternoon.

How to fix unack messages? 

We running SpringBoot microservices working with rabbitmq + firebase in k8s cluster for send iOS/Android push notification for our clients.

At first we thought our SpringBoot notification app can't handle request from rabbit, increased pods count to 5, it's didnt help.

We running in cluster.
SpringBoot notification app(5 pods) 
rabbitmq(1 pod)

what could be the reason for this behavior?

Снимок экрана 2020-10-15 в 11.08.07.pngСнимок экрана 2020-10-15 в 09.16.25.png

Нурлан

unread,
Oct 15, 2020, 1:22:42 AM10/15/20
to rabbitmq-users
also i tried to set messages TTL with command: rabbitmqctl set_policy TTL ".*" '{"message-ttl":180}' --apply-to queues

четверг, 15 октября 2020 г. в 11:21:19 UTC+6, Нурлан:

Michael Klishin

unread,
Oct 15, 2020, 5:29:10 PM10/15/20
to rabbitmq-users
In order to "fix" unacknowledged deliveries your applications must acknowledge them.
See tutorial 2 [1], a guide on acknowledgements [2] and keep in mind that message TTL only applies
to messages in Ready state; delivered but unacknowledged messages will not expire by design as your
consumers might still be processing them.

Нурлан

unread,
Oct 16, 2020, 1:43:25 AM10/16/20
to rabbitmq-users
somehow possible to clear unacked messages manually?

пятница, 16 октября 2020 г. в 03:29:10 UTC+6, Michael Klishin:

Wesley Peng

unread,
Oct 16, 2020, 1:47:40 AM10/16/20
to rabbitm...@googlegroups.com

Michael Klishin

unread,
Oct 20, 2020, 1:05:24 AM10/20/20
to rabbitmq-users
Closing the channel (or connection) on which said deliveries originated would auto-requeue them [1].

Reply all
Reply to author
Forward
0 new messages