You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
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 :)
The text was updated successfully, but these errors were encountered: