下面是一个错误。不知道怎么了
%5|1591739081.630|REQTMOUT|rdkafka#consumer-1| [thrd:GroupCoordinator]: GroupCoordinator/290: Timed out HeartbeatRequest in flight (after 10622ms, timeout #0)
%4|1591739081.630|REQTMOUT|rdkafka#consumer-1| [thrd:GroupCoordinator]: GroupCoordinator/290: Timed out 1 in-flight, 0 retry-queued, 0 out-queue, 0 partially-sent requests
%4|1591739094.726|METADATA|rdkafka#consumer-1| [thrd:main]: GroupCoordinator/289: Metadata request failed: partition assignor: Local: Broker node update (-336618544ms): Permanent
据我所知,这个错误来自于经纪人的胆怯
它基于消费者的
session.timeout.ms
,默认值为10000
,这意味着如果消费者无法在10秒内完成心跳,他将被踢出消费者尝试每
heartbeat.interval.ms
毫秒发送一次心跳信号,默认情况下是每3秒发送一次因此,假设你与borkers有关联问题,持续10秒以上,你可能被踢出小组,消费者关门了
从librdkafka文档中,关于
session.timeout.ms
:相关问题 更多 >
编程相关推荐