smallrye / smallrye-reactive-messaging

SmallRye Reactive Messaging
http://www.smallrye.io/smallrye-reactive-messaging/
Apache License 2.0
241 stars 179 forks source link

AMQP - client reconnect-interval configuration property docs misleading #2014

Open stackoverflow2 opened 1 year ago

stackoverflow2 commented 1 year ago

Documentation reconnect-interval configuration property of AMQP client is misleading. Please see here

Below is mentioned in the docs : image

But this is not the correct behavior of client see here

Here it is trying to reconnect in exponential bakeoff time

image

Please let me know your views on this.

I will create PR for this change.

cescoffier commented 1 year ago

ah yes.... Can you propose something more accurate?

dv0gt commented 10 months ago

Maybe something like The max backoff time in seconds between two reconnect intervals. But what is also misleading that the same config property will be used for retry on send, see here.

image

So I would propose to change it on the outgoing config to something like The max backoff time in seconds between two reconnect intervals or between two resend attempts.