We somehow fall into this NonFatal exception, we can see its log.
Then the consumer gets stopped and doesn’t restart itself. It stays shut.
Can anyone help why it may occur and maybe we can solve it?
Or, as a quick workaround, at least how can we auto-restart it?
We have this code in supervisor but it doesn’t help:
case ex: Exception =>
Restart
Here is the log message we get:
[6baf9] Exception when polling from consumer, stopping actor: org.apache.kafka.common.KafkaException: Unexpected error from SyncGroup: The server experienced an unexpected error when processing the request.