Class HotReplacementInterceptor

  • All Implemented Interfaces:
    AutoCloseable, org.apache.kafka.clients.consumer.ConsumerInterceptor, org.apache.kafka.common.Configurable

    public class HotReplacementInterceptor
    extends Object
    implements org.apache.kafka.clients.consumer.ConsumerInterceptor
    • Constructor Detail

      • HotReplacementInterceptor

        public HotReplacementInterceptor()
    • Method Detail

      • configure

        public void configure​(Map<String,​?> configs)
        Specified by:
        configure in interface org.apache.kafka.common.Configurable
      • onConsume

        public org.apache.kafka.clients.consumer.ConsumerRecords onConsume​(org.apache.kafka.clients.consumer.ConsumerRecords records)
        Specified by:
        onConsume in interface org.apache.kafka.clients.consumer.ConsumerInterceptor
      • onCommit

        public void onCommit​(Map offsets)
        Specified by:
        onCommit in interface org.apache.kafka.clients.consumer.ConsumerInterceptor
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface org.apache.kafka.clients.consumer.ConsumerInterceptor
      • onMessage

        public static void onMessage​(Runnable handler)