One of my services stop consuming message from queue

114 views
Skip to first unread message

Noman Rasool

unread,
Jul 10, 2023, 7:47:27 AM7/10/23
to rabbitmq-discuss
Hi everyone,

I have 3 services (A, B, and C) and 3 queues(a, b, and c) the service A publishes messages to queues 'b' & 'c' and consumes messages from queue 'a'. The B and C services consume messages from 'b' & 'c' queues and publish messages to queue 'a'.

Service C stops consuming messages from the queue ('c') after the 60s while the connection and the channel remain connected. The service invokes an AI model which takes approximately 3 minutes to respond though I am acknowledging the message before invoking the AI model, I also tried to send ack after invoking the AI model but did not work.

Services B and C are Python apps that use aio-pika library and service A is built with node.js and uses amqplib.

RabbitMQ heartbeat is set to 3600s and consumer timeout is 1800000
Reply all
Reply to author
Forward
0 new messages