返回到文章

采纳

编辑于

kafka consumer取数据卡顿

kafka

kafka多个consumer取数据时 每隔一段时间都会卡顿几十秒 打印debug日志如下

2019-12-27 11:00:53 [DEBUG]-[org.apache.kafka.clients.consumer.internals.ConsumerCoordinator$OffsetCommitResponseHandler.handle(ConsumerCoordinator.java:790)] Offset commit for group testgroup failed: The coordinator is not aware of this member.
2019-12-27 11:00:53 [DEBUG]-[org.apache.kafka.clients.consumer.internals.AbstractCoordinator$HeartbeatResponseHandler.handle(AbstractCoordinator.java:777)] Attempt to heartbeat failed for group testgroup since member id is not valid.