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

Regarding Kafka Connection #976

Open
Vishvshah16 opened this issue Feb 9, 2024 · 0 comments
Open

Regarding Kafka Connection #976

Vishvshah16 opened this issue Feb 9, 2024 · 0 comments
Labels

Comments

@Vishvshah16
Copy link

I am using Kafka in my software.
It is consuming messages from kafka topic continuously.
I am not closing the connection but starting and stopping the Kafka Consumer and Producer
Sometimes, kafka consumer is getting stuck with unknown reason.
I am restarting my software, it is working fine because it starts establishing connection again.
Is there any way to handle the exception on continuously running function?
I tried to put the function in try and except block but it is not consuming messages and not able to connect with the Kafka.

Thanks in Advance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant