Package fr.enedis.chutney.action.kafka
Class CustomConsumerRebalanceListener
java.lang.Object
fr.enedis.chutney.action.kafka.CustomConsumerRebalanceListener
- All Implemented Interfaces:
org.apache.kafka.clients.consumer.ConsumerRebalanceListener,org.springframework.kafka.listener.ConsumerAwareRebalanceListener
public class CustomConsumerRebalanceListener
extends Object
implements org.springframework.kafka.listener.ConsumerAwareRebalanceListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPartitionsAssigned(org.apache.kafka.clients.consumer.Consumer<?, ?> consumer, Collection<org.apache.kafka.common.TopicPartition> partitions) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.kafka.listener.ConsumerAwareRebalanceListener
onPartitionsAssigned, onPartitionsLost, onPartitionsLost, onPartitionsRevoked, onPartitionsRevokedAfterCommit, onPartitionsRevokedBeforeCommit
-
Constructor Details
-
CustomConsumerRebalanceListener
public CustomConsumerRebalanceListener()
-
-
Method Details
-
onPartitionsAssigned
public void onPartitionsAssigned(org.apache.kafka.clients.consumer.Consumer<?, ?> consumer, Collection<org.apache.kafka.common.TopicPartition> partitions) - Specified by:
onPartitionsAssignedin interfaceorg.springframework.kafka.listener.ConsumerAwareRebalanceListener
-