Error UNKNOWN_MEMBER_ID occurred while committing offsets for group xxx

后端 未结 1 1998
旧巷少年郎
旧巷少年郎 2021-02-04 10:27

With Kafka client Java library, consuming logs has worked for some time but with the following errors it doesn\'t work any more:

2016-07-15 19:37:54.609  INFO 43         


        
1条回答
  •  萌比男神i
    2021-02-04 11:15

    I just faced the same issue. I have been investigating, and in this thread and in this wiki you can find the solution.

    The issue seems to be that the processing of a batch takes longer than the session timeout. Either increase the session timeout or the polling frequency or limit the number of bytes received.

    What worked for me was changing max.partition.fetch.bytes. But you can also modify session.timeout.ms or the value you pass to your consumer.poll(TIMEOUT)

    0 讨论(0)
提交回复
热议问题