返回到文章

采纳

编辑于 4年前

如何理解logstash的这个报错

kafka

[2021-05-15T08:25:26,189][WARN ][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator] [Consumer clientId=mall_log-logstash01-0, groupId=mall_log_group01] Asynchronous auto-commit of offsets {mall_log_dev-0=OffsetAndMetadata{offset=5174, leaderEpoch=0, metadata=''}} failed: 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.

我发现logstash有部分这种warn,数量不多。什么场景会出现这种情况?
它说增加max.poll.interval.ms,那么加多少怎么评估?