PatrickPeng

Results 5 comments of PatrickPeng

@AmiKotia I also encountered a similar problem. The reasons for the problem were mentioned in the comments of this question.https://github.com/IBM/sarama/issues/2682

![Xnip2023-10-23_18-32-54](https://github.com/IBM/sarama/assets/52538349/29a456bc-0ad6-42a8-8cfd-9e2ee5ed6136) I captured packets from kafka in the test environment and found that no fetch_reqeust was initiated for the abnormal topic origdata_log_http, but fetch_request was sent to other topics.

I think I have found the cause of the problem. I read the source code of sarama. When multiple shards of a topic return ErrOutofRange, the brokerConumer.subscriptions will eventually become...

![image](https://github.com/IBM/sarama/assets/52538349/3d8f11b1-80cb-4132-909d-bf42d879f9c4) ![image](https://github.com/IBM/sarama/assets/52538349/05d3811c-c208-4b77-a97b-b757cfd3eb66) ![image](https://github.com/IBM/sarama/assets/52538349/b8e844f9-1a2b-426b-b527-c93b8c6c32be) I think sarama should handle this OutOfRangeError, because for users, they don't know how to handle this error, but the final result is that consumers stop consuming....