Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for x-consumer-timeout in RabbitMQ #3494

Closed
pyjads opened this issue Jul 30, 2024 · 3 comments
Closed

Support for x-consumer-timeout in RabbitMQ #3494

pyjads opened this issue Jul 30, 2024 · 3 comments
Labels
kind/enhancement New feature or request stale

Comments

@pyjads
Copy link

pyjads commented Jul 30, 2024

Summary

Introduce a new queue argument x-consumer-timeout in RabbitMQ to allow users to specify a maximum time a message can be processed by a consumer before it is considered unacknowledged. This feature aims to provide greater control over message processing times and improve the handling of slow consumers.

Description

In current RabbitMQ implementations, managing the time a consumer spends processing a message relies on a combination of client-side logic and RabbitMQ's heartbeat mechanism. However, these methods do not directly address scenarios where a consumer might be taking too long to process a single message, potentially leading to message processing delays and inefficiencies in resource utilization.

The proposed x-consumer-timeout feature would allow users to set a timeout value (in milliseconds) at the queue level. This timeout would define the maximum allowed time for a consumer to process a message after it has been delivered and before it acknowledges the message back to RabbitMQ. If the consumer fails to acknowledge the message within this timeframe, RabbitMQ would automatically requeue the message, making it available for redelivery to the same or a different consumer.

More Details on Consumer Timeout

@pyjads pyjads added the kind/enhancement New feature or request label Jul 30, 2024
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 29, 2024
Copy link

github-actions bot commented Sep 5, 2024

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2024
@pyjads
Copy link
Author

pyjads commented Sep 9, 2024

Any updates on the request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

1 participant