Interface ConsumerPauseResumeEventPublisher

  • All Known Implementing Classes:
    KafkaMessageListenerContainer

    public interface ConsumerPauseResumeEventPublisher
    Objects that can publish consumer pause/resume events.
    Since:
    2.8.10
    • Method Detail

      • publishConsumerPausedEvent

        void publishConsumerPausedEvent​(java.util.Collection<org.apache.kafka.common.TopicPartition> partitions,
                                        java.lang.String reason)
        Publish a consumer paused event.
        Parameters:
        partitions - the paused partitions.
        reason - the reason.
      • publishConsumerResumedEvent

        void publishConsumerResumedEvent​(java.util.Collection<org.apache.kafka.common.TopicPartition> partitions)
        Publish a consumer resumed event.
        Parameters:
        partitions - the resumed partitions.