Consumer clientId=consumer-prod_yngy_mqs_group-1, groupId=prod_yngy_mqs_group] Member consumer-prod_yngy_mqs_group-1-8714d873-f1bd-44f5-af7c-7d3574ddf10b sending LeaveGroup request to coordinator 10.113.52.54:29093 (id: 2147483645 rack: null) due to 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.
时间: 2024-04-19 11:25:41 浏览: 278
kafka调试中遇到Connection to node -1 could not be established. Broker may not be available.
5星 · 资源好评率100%
这是一个关于 Kafka 消费者的报错信息。报错内容是消费者在调用 `poll()` 方法时,超过了配置的 `max.poll.interval.ms` 参数所设置的最大超时时间,导致发送 LeaveGroup 请求,即离开消费者组。这通常意味着消费者在处理消息时花费了太长时间。您可以通过增加 `max.poll.interval.ms` 参数的值或者通过减少 `poll()` 方法返回的批次的最大大小(`max.poll.records`)来解决此问题。
阅读全文