Class ResumeRebalanceListener

  • All Implemented Interfaces:
    org.apache.kafka.clients.consumer.ConsumerRebalanceListener

    public class ResumeRebalanceListener
    extends Object
    implements org.apache.kafka.clients.consumer.ConsumerRebalanceListener
    • Constructor Detail

      • ResumeRebalanceListener

        public ResumeRebalanceListener​(String threadId,
                                       KafkaConfiguration configuration,
                                       CommitManager commitManager,
                                       org.apache.kafka.clients.consumer.Consumer<?,​?> consumer,
                                       org.apache.camel.resume.ResumeStrategy resumeStrategy)
    • Method Detail

      • onPartitionsRevoked

        public void onPartitionsRevoked​(Collection<org.apache.kafka.common.TopicPartition> partitions)
        Specified by:
        onPartitionsRevoked in interface org.apache.kafka.clients.consumer.ConsumerRebalanceListener
      • onPartitionsAssigned

        public void onPartitionsAssigned​(Collection<org.apache.kafka.common.TopicPartition> partitions)
        Specified by:
        onPartitionsAssigned in interface org.apache.kafka.clients.consumer.ConsumerRebalanceListener