记录一:This member will leave the group because consumer poll timeout has expired.
[| test_kafka_group] o.a.k.c.c.internals.AbstractCoordinator : [Consumer clientId=consumer-2, groupId=test_kafka_group] This member will leave the group because 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.
原因:对kafka的max_poll_records 设置过大,处理不过来。
记录二:kafka写入异常 magic v1 does not supprt record headers
原因:0.10的kafka服务端是不支持header的,用高版本的kafka客户端0.11不报错。用了skywalking,不能用kafka的0.11以下版本,需要升级。