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

update docs about global prefetch (qos) deprecation #771

Open
soryy708 opened this issue Oct 31, 2024 · 1 comment
Open

update docs about global prefetch (qos) deprecation #771

soryy708 opened this issue Oct 31, 2024 · 1 comment

Comments

@soryy708
Copy link

The channel.prefetch docs
currently have a note about using global Prefetch on RabbitMQ v3.3.0 or below,
but don't say anything about RabbitMQ 4.0 or above.

Global QoS has been deprecated, as seen in RabbitMQ 4.0 Deprecation Announcements:

Why are we making this decision?
Global QoS, where a single shared prefetch is used for an entire channel, is not recommended practice.
What alternatives exist?
Per-consumer QoS (non-global) should be set instead.

https://www.rabbitmq.com/blog/2021/08/21/4.0-deprecation-announcements#removal-of-global-qos

Continuing with the existing behavior of the documentation, describing the nuances about differences between RabbitMQ versions, I believe that the docs need to include:

  • Global Prefetch has been deprecated in RabbitMQ 4.0.
  • It will continue to work, but show a banner about "Deprecated features are used"
  • In a future version of RabbitMQ, which isn't known yet, the feature will be removed and stop working
@cressie176
Copy link
Collaborator

Agree. Thanks @soryy708

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants