Whether there are configurable parameters to disable the client reconnection mechanism?
lingnancfy opened this issue · 2 comments
lingnancfy commented
Whether there are configurable parameters to disable the client reconnection mechanism?
StephenSorriaux commented
I don't think that can be done out of the box.
ceache commented
Hi,
Just to be clear, you are trying to disable *all* connection retries? Even
in case of multiple servers?
Or do you mean, regardless of the number of participants in the ensemble,
*after* a successful connection (you have a session Id), from then on if
you get disconnected (lose the session), do not retry?
The former is too low level, kazoo tries to abstract the individual members
of the ensemble as much as possible and instead focuses on the session
abstraction. For instance you can easily setup a state watcher that will
react on session loss.
I hope this helps
…On Fri, Mar 8, 2024, 15:13 Stephen Sorriaux ***@***.***> wrote:
I don't think that can be done out of the box.
—
Reply to this email directly, view it on GitHub
<#667 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIFTHV4BLHTTPADT6T4OYLYXILWNAVCNFSM5WZ3TEN2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJYGYZTKNJVGMYQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>