Listener for Cluster/Bucket connections

connections

#1

Hi All,

Do we have a facility to add listener to Cluster/Bucket connection so that whenever the connection got disconnected/closed, the listener should take care of establishing the connection again?


#2

Okay so there is the event Bus you can use to listen to events but reconnects are handled automatically so you are not supposed to do manual reconnects - what use case/issue do you have?


#3

Thanks for quick reply :slight_smile:.
I was looking for the same. I didn’t know that its taking care of reconnects automatically.