Set<TopicPartition> revoked = subscriptions.assignedPartitions(); log.info("Revoking previously assigned partitions {}", revoked); try { //可以重写的方法,分区再均衡开始前调用 listener.onPartitionsRevoked(revoked); } catch (WakeupException | InterruptException e) { throw e; } catch (Exception e)...
2020-02-11 17:35:03.513 INFO 53544 --- [ntainer#0-0-C-1] o.a.k.c.c.internals.ConsumerCoordinator : [Consumer clientId=consumer-2, groupId=group22] Revoking previously assigned partitions [test2-0] 2020-02-11 17:35:03.513 INFO 53544 --- [ntainer#0-0-C-1] o.s.k.l.KafkaMes...
INFO | [Consumer clientId=consumer-1, groupId=test] Revoking previously assigned partitions [] INFO | [Consumer clientId=consumer-1, groupId=test] (Re-)joining group INFO | [Consumer clientId=consumer-1, groupId=test] Successfully joined group with generation 4 INFO | [Consumer clientId=co...
[Consumer clientId=consumer-1, groupId=test] Revoking previously assigned partitions [] INFO | [Consumer clientId=consumer-1, groupId=test] (Re-)joining group INFO | [Consumer clientId=consumer-1, groupId=test] Successfully joined group with generation 4 INFO | [Consumer clientId=consumer-1...
INFO | [Consumer clientId=consumer-1, groupId=test] Revoking previously assigned partitions [] INFO | [Consumer clientId=consumer-1, groupId=test] (Re-)joining group INFO | [Consumer clientId=consumer-1, groupId=test] Successfully joined group with generation 4 ...
新加入的partitions为空[]: INFO Revoking previously assigned partitions[]forgroup group-1(org.apache.kafka.clients.consumer.internals.ConsumerCoordinator)[2021-12-1921:21:49,998]INFO(Re-)joining group group-1(org.apache.kafka.clients.consumer.internals.AbstractCoordinator)[2021-12-1921:21:52,737]...
o.a.k.c.c.i.ConsumerCoordinator:292 - Revoking previously assigned partitions [topic-12] for group group.id o.a.k.c.c.i.AbstractCoordinator:326 - (Re-)joining group group.id o.a.k.c.c.i.AbstractCoordinator$SyncGroupResponseHandler:434 - Successfully joined group group.id with ...
2017-09-05 16:06:47.525 INFO 53000 --- [ntainer#0-0-C-1] o.a.k.c.c.internals.ConsumerCoordinator : Revoking previously assigned partitions [] for group junbaor-test-group 2017-09-05 16:06:47.525 INFO 53000 --- [ntainer#0-0-C-1] o.s.k.l.KafkaMessageListenerContainer : partiti...
o.a.k.c.c.i.ConsumerCoordinator:292- Revoking previously assigned partitions [topic-12]forgroupgroup.id o.a.k.c.c.i.AbstractCoordinator:326- (Re-)joininggroupgroup.id o.a.k.c.c.i.AbstractCoordinator$SyncGroupResponseHandler:434- Successfully joinedgroupgroup.idwithgeneration12182o.a.k.c....
Revoking previously assigned partitions [testfage-0, testfage-1, testfage-2] 26135 [main] INFO org.apache.kafka.clients.consumer.internals.AbstractCoordinator - [Consumer clientId=consumer-1, groupId=testfageGroup] (Re-)joining group 26167 [main] INFO org.apache.kafka.clients.consumer.internals...