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

[💡 FEATURE REQUEST]: Ability to set AMQP behavior/management params #1432

Closed
codercms opened this issue Jan 27, 2023 · 1 comment · Fixed by roadrunner-server/amqp#46
Closed
Assignees
Labels
C-feature-request Category: feature requested, but need to be discussed
Milestone

Comments

@codercms
Copy link

codercms commented Jan 27, 2023

Plugin

JOBS

I have an idea!

I trying to listen for AMQP queue and faced following problems:

  • Is it possible to set AMQP consumer name?
    There are many consumers and it would be great to set the name of consumer, e.g. <service-name>-<host name>
  • AMQP plugin is always trying to create exchange/queue
    Usually queue workers doesn't have access to modify RabbitMQ exchange/queue schema by security reasons.
    Is there any way to prevent a queue worker from creating an exchange/queue and have it just listen?
@codercms codercms added the C-feature-request Category: feature requested, but need to be discussed label Jan 27, 2023
@rustatian
Copy link
Member

Hey @codercms 👋🏻

  1. Not at the moment, but adding a configuration option is easy. I'll add the new configuration options.
  2. Not create, but check if it exists (and only if not - create). This is an idempotent operation (if the exchange exists) to check that configuration fits the exchange configuration. In the latest version, if you do not consume from the queue, RR will not try to check the queue and create it if it doesn't exist. But if you did consume, RR has to check the queue to be aligned with that declared in the configuration. This is also an idempotent operation.

@github-project-automation github-project-automation bot moved this to Backlog in General Jan 27, 2023
@rustatian rustatian moved this from Backlog to Todo in General Jan 27, 2023
@rustatian rustatian added this to the v2023.1 milestone Jan 27, 2023
@github-project-automation github-project-automation bot moved this from Todo to Unreleased in General Feb 22, 2023
@rustatian rustatian moved this from Unreleased to Done in General Apr 13, 2023
@rustatian rustatian mentioned this issue Apr 13, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: feature requested, but need to be discussed
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants