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

MelonadeClient can support reconnection kafka-cluster by itself ? #9

Open
voratham opened this issue May 16, 2020 · 2 comments
Open

Comments

@voratham
Copy link
Member

voratham commented May 16, 2020

MelonadeClient can support reconnection kafka-cluster by itself ?

I would like to ensure when melonade-client can't connected to kafka-cluster, my service must be able dead and start service again

@voratham voratham changed the title Able melonade ca MelonadeClient can support reconnection kafka-cluster by itself ? May 16, 2020
@NV4RE
Copy link
Collaborator

NV4RE commented May 17, 2020

Hello,

I'm don't think this is good idea to let the library to exit to process on it's own, The application must handle it instead e.g. if client has disconnected for 5 min and never reconected exit the process or run graceful shutdown

For this issue I'm gonna add events "disconnected" and "connected" to the worker client

@NV4RE
Copy link
Collaborator

NV4RE commented May 17, 2020

I try start the kafka broker after the service, and it still able to connected.

ezgif com-video-to-gif

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