Class KafkaSubscriber<K,​V>

  • Type Parameters:
    K - kafka record key type
    V - kafka record value type
    All Implemented Interfaces:
    Subscriber<Message<V>>

    public class KafkaSubscriber<K,​V>
    extends Object
    implements Subscriber<Message<V>>
    Reactive streams subscriber implementation.
    • Method Detail

      • builder

        public static <K,​V> KafkaSubscriber.Builder<K,​V> builder()
        A builder for KafkaSubscriber.
        Type Parameters:
        K - Key type
        V - Value type
        Returns:
        builder to create a new instance
      • create

        public static <K,​V> KafkaSubscriber<K,​V> create​(Config config)
        Load this builder from a configuration.
        Type Parameters:
        K - Key type
        V - Value type
        Parameters:
        config - configuration to load from
        Returns:
        updated builder instance