Skip to content

Configure consumer_timeout for RabbitMQ

3

Hello,

Do you know if there is a way to configure the consumer_timeout (delivery acknowledgment) parameter of RabbitMQ in AmazonMQ?
https://www.rabbitmq.com/consumers.html#acknowledgement-timeout
Our instances got automatically upgraded and we now have timeout errors for our tasks with long ETAs.

Thank you very much for your help!

asked 5 years ago7.5K views
9 Answers
6

Amazon MQ now supports the ability for customers to create and apply configurations to their RabbitMQ broker on Amazon MQ. This feature allows you to define the RabbitMQ delivery acknowledgement timeout (consumer_timeout) value and enable operator policies using the RabbitMQ configuration format (Cuttlefish).

Whats' new post - https://aws.amazon.com/about-aws/whats-new/2023/07/amazon-mq-managed-configuration-rabbitmq-brokers/ Developer guide - https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/rabbitmq-broker-configuration-parameters.html

AWS
answered 3 years ago
4

Hi there,

Kindly note that we currently support the configuration of the consumer_timeout on Amazon MQ for RabbitMQ brokers. You may open a support case to Amazon MQ support and request for your broker to be configured with the desired consumer_timeout.

Update 2023

Customers can now perform the configuration themselves. Please refer to the following:

Whats' new post - https://aws.amazon.com/about-aws/whats-new/2023/07/amazon-mq-managed-configuration-rabbitmq-brokers/ Developer guide - https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/rabbitmq-broker-configuration-parameters.html

AWS
SUPPORT ENGINEER
answered 4 years ago
  • @Ethan, any update on when this will be possible though the AWS API?

  • Any update on when the end user will be able to manage this setting?

1

Please note this is supported by opening a support case and sending a ticket to our team. In future we plan to add self-configuration.

AWS
answered 3 years ago
  • Do you have any estimate of when the rabbitmq.conf configuration will be available?

    We are getting "Broken pipe" messages and we are planning to configure heartbeat at server level, in any case, how can we see the default configuration of RabbitMQ in AWS?

0

Thank you for your reponse.

The ability to tweak this parameter will be indeed great. We're going to rollback to 3.8.11 however we have to spin up a new instance and will lose our current queues, which is less than ideal.

answered 5 years ago
0

Hello,
We have recently moved to AmazonMQ and after moving we found the same issue of our jobs timing out. Is there an ETA on this feature?

Thanks.

answered 4 years ago
0

Hi, same thing here. Any updates on the work to have the capability to change rabbitmq.conf, or maybe at least consumer_timeout? Thank you.

answered 4 years ago
0

Hi @Trevor Requesting this change through a Support Ticket doesn’t make sense... What if I have the Basic Plan and can't open Support Tickets? Thanks.

answered 3 years ago
0

Hello, I write this message to check if anyone can help me. I trying to disable consumer_timeout, because in my case not make sense have consumer_timeout. I tried to pass in AmazonMQ configuration the consumer_timeout as undefined, as rabbimq documentation explain, but not working. Someone can help me?

answered 2 years ago
0

For me, creating a new configuration under Configurations -> Configurations and just adding the line:

consumer_timeout = 108000000

worked. This value is in miliseconds, so in this case would be 30 hours. Adjust the value that you need accordingly, and then assign the newly created configuration to the broker.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.