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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPartitionsAssigned(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, wait

    Methods 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:
      onPartitionsAssigned in interface org.springframework.kafka.listener.ConsumerAwareRebalanceListener