本来是个简单的问题,但是复杂了。
两个topic 消费方式不一样,一个使用过的是默认方式,不指定partition,另外一个,指定了特殊的partition。报错:
11:10:32.888 [org.springframework.kafka.KafkaListenerEndpointContainer#1-0-C-1]
ERROR o.a.k.c.c.i.ConsumerCoordinator -
[Consumer clientId=futures_deal_group-1302249340-0, groupId=deal_group]
Offset commit failed on partition topic-depth-6 at offset 1535688270: The coordinator is not aware of this member
11:10:32.888 [org.springframework.kafka.KafkaListenerEndpointContainer#1-0-C-1]
WARN o.a.k.c.c.i.ConsumerCoordinator -
[Consumer clientId=futures_deal_group-1302249340-0, groupId=deal_group]
Asynchronous auto-commit of offsets {topic-depth-6=OffsetAndMetadata{offset=1535688270, 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 c
alls to poll()