1、 异常信息

org.apache.kafka.clients.consumer.CommitFailedException: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing max.poll.interval.ms or by reducing the maximum size of batches returned in poll() with max.poll.records.

2、 异常解决

a)调大max.poll.interval.ms,默认300000ms(300s)
b)调小max.poll.records,默认500
c)另起线程

相关文章:

  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2021-06-14
  • 2021-11-18
  • 2022-12-23
猜你喜欢
  • 2021-11-13
  • 2022-12-23
  • 2021-11-27
  • 2022-02-08
  • 2022-01-17
  • 2021-09-28
相关资源
相似解决方案