Skip to content

Conversation

mattbaron
Copy link
Contributor

@mattbaron mattbaron commented Jun 7, 2025

Summary

Mirrored classic queues are deprecated in RabbitMQ 4.0.x and are removed in 4.1.x, leaving quorum queues as the only option for clustering. In order for the amqp_consumer plugin to create or read from a quorum queue it needs to have the following (string) queue argument:

queue_arguments = {"x-queue-type" = "quorum"}

This is not currently possible as the queue arguments functionality was coded to only accept int values.

This PR will enable both int and string values to be passed in queue_arguments.

Checklist

  • No AI generated code was used in this PR

Related issues

resolves 17120
resolves 6591

@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Jun 7, 2025

Thanks so much for the pull request!
🤝 ✒️ Just a reminder that the CLA has not yet been signed, and we'll need it before merging. Please sign the CLA when you get a chance, then post a comment here saying !signed-cla

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Jun 7, 2025
@mattbaron
Copy link
Contributor Author

!signed-cla

@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Jun 7, 2025

@mattbaron
Copy link
Contributor Author

mattbaron commented Jun 7, 2025

My PR relates to the amqp_consumer input, and the test for the stackdriver output on windows (only) failed. It seems like there is an issue with this test, maybe a time related race condition. I don't think there is anything I've done in my PR that caused this failure and I don't think there is anything I can do in my PR to resolve it.

Please advise.

image

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks @mattbaron!

@srebhan srebhan added area/rabbitmq ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. labels Jun 10, 2025
@mstrandboge mstrandboge merged commit 106bfee into influxdata:master Jun 10, 2025
36 of 37 checks passed
@github-actions github-actions bot added this to the v1.35.0 milestone Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rabbitmq feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

amqp_consumer input plugin: Support quorum queues amqp_consumer input plugin support for quorum queues (RabbitMQ 3.8)
4 participants