Skip to content

Delete single-active-consumer policy #13928

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

Merged
merged 1 commit into from
May 21, 2025
Merged

Delete single-active-consumer policy #13928

merged 1 commit into from
May 21, 2025

Conversation

ansd
Copy link
Member

@ansd ansd commented May 21, 2025

single-active-consumer shouldn't be listed under unsupported_policies for quorum queues and streams because it isn't a valid policy key in the first place, see https://www.rabbitmq.com/docs/consumers#sac-cannot-be-enabled-with-a-policy

`single-active-consumer` shouldn't be listed under `unsupported_policies` for quorum
queues and streams because it isn't a valid policy in the first place, see
https://www.rabbitmq.com/docs/consumers#sac-cannot-be-enabled-with-a-policy
@ansd ansd requested a review from Copilot May 21, 2025 15:14
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the unsupported "single-active-consumer" policy from the capability lists in both quorum queues and streams, in line with the RabbitMQ documentation.

  • Removed "single-active-consumer" from rabbit_stream_queue.erl
  • Removed "single-active-consumer" from rabbit_quorum_queue.erl

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
deps/rabbit/src/rabbit_stream_queue.erl Removed the unsupported "single-active-consumer" policy from the capabilities list.
deps/rabbit/src/rabbit_quorum_queue.erl Removed the "single-active-consumer" policy from the unsupported policies list.

@ansd ansd added this to the 4.2.0 milestone May 21, 2025
@michaelklishin michaelklishin merged commit dfa06d9 into main May 21, 2025
273 checks passed
@michaelklishin michaelklishin deleted the sac-policy branch May 21, 2025 15:59
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

Successfully merging this pull request may close these issues.

2 participants