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 encountered a case where while I was reading through a topic, the topic was deleted and then created from the beginning. My consumer using confluent_kafka looks somewhat like this:
When the topic is deleted, it is recreated within a few seconds and then ingestion starts.
The consumer does not crash on consume() and continues to return empty msgs list.
Currently, I only receive the following line on the STDERR when the topic is deleted. Is it possible from the consumer side to know if such event occured, so that the program could react to this event?
%5|1737553425.511|PARTCNT|rdkafka#consumer-3| [thrd:main]: Topic <topic> partition count changed from 1 to 0
The text was updated successfully, but these errors were encountered:
I encountered a case where while I was reading through a topic, the topic was deleted and then created from the beginning. My consumer using
confluent_kafka
looks somewhat like this:Case happening here:
consume()
and continues to return emptymsgs
list.Currently, I only receive the following line on the
STDERR
when the topic is deleted. Is it possible from the consumer side to know if such event occured, so that the program could react to this event?The text was updated successfully, but these errors were encountered: