kafka java apache Клиент: 3.0.0 < /p>
На прошлой неделе было несколько случаев, когда все потребители конкретной группы потребителей продолжали умирать с ошибкой: < /p>
Код: Выделить всё
consumer poll timeout has expired. This means 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 processing messages. 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.
Я вижу тысячи следующих сообщений в журналах: < /p>
[Consumer clientId==Consumer-2, groupId=EventsConsumer] Request joining group due to: group is already rebalancing
< /code>
Поэтому я подозреваю, что фактическая причина умирания всей группы - это чрезвычайно длинная фаза перебалансировки. Я не уверен, что это вызывает.
Подробнее здесь: https://stackoverflow.com/questions/740 ... ing-is-low