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

Adding documentation to connect to quorum queues #136

Open
MTijn opened this issue May 4, 2023 · 1 comment
Open

Adding documentation to connect to quorum queues #136

MTijn opened this issue May 4, 2023 · 1 comment

Comments

@MTijn
Copy link
Contributor

MTijn commented May 4, 2023

Morning,

Since I am maintaining a cluster of RabbitMQ nodes, I noticed that in RabbitMQ the classic queue is deprecated and quorum is its replacement.

I was browsing some of the examples you have here, and I am seeing that the documentation is not present yet.

As far as I can judge now, the only change to be done to be compatible with quorum queues only, like RabbitMQ 4 is suggesting would be is to have the queueDeclare method to be durable.

$channel->queueDeclare($action, false, true);

This only works when the virtual host is set to be default quorum though, when this is not the case the arguments would be

$channel->queueDeclare($action, false, true,false, false, false, ['x-queue-type' => 'quorum']);

Which I am a bit unsure of, but will solve the immediate issue when RabbitMQ 4 does get released.

WyriHaximus added a commit that referenced this issue May 9, 2023
#136: Adding documentation to connect to quorum queues
@WyriHaximus
Copy link
Collaborator

Thanks for filing this, will keep this open for a bit until we have some more documentation on quorum queues.

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