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

Reconnect Attempts - ignoring previous channel.basicQos(1) and setting Default prefect count is 0 #219

Open
bkoripalli opened this issue Nov 21, 2024 · 0 comments
Labels

Comments

@bkoripalli
Copy link

Version

vertx-rabbitmq-client 4.4.3

Context

RabbitMQ Recovery is working but not honoring previous basicQos setting.

Do you have a reproducer?

No but it is very simple reproduce with vertx-rabbitmq examples.

Steps to reproduce

  1. Created RabbitMQ connection by setting below options for auto recovery.

automaticRecoveryEnabled=false
reconnectAttempts=10

  1. set client.rxBasicQos( 1 )

  2. create queue and consumers and see RabbitMQ management dashboard for consumer prefetch count is set 1

  3. restart the RabbitMQ service and see consumer prefetch count set to 0

Expected result set to 1

Extra

with below option is working fine but it is not recovering from when consumer timeout case.
automaticRecoveryEnabled=true
reconnectAttempts=0
VertxRabbitMQ Client Recovering well but not honoring previous settings (e.g prefetch count 1)

@bkoripalli bkoripalli added the bug label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant