Я использую кластер Kafka с 4 узлами, 1 производителем и 1 потребителем.Он работал нормально, пока потребитель не потерпел неудачу.Теперь, после перезапуска потребителя, он начинает потреблять новые сообщения, но через несколько минут он выдает эту ошибку:
[WARN ]: org.apache.kafka.clients.consumer.internals.ConsumerCoordinator - Auto offset commit failed for group eventGroup: 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 session.timeout.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing the session timeout or by reducing the maximum size of batches returned in poll() with max.poll.records.
И он снова начинает потреблять те же сообщения и зацикливается навсегда.тайм-аут сеанса, попытался изменить идентификатор группы, и он все еще делает то же самое.
Также важна ли клиентская версия Kafka для потребителя?