Class ProducerRegistration.ValueSerializerBuilder<K,V>

java.lang.Object
org.sdase.commons.server.kafka.builder.ProducerRegistration.ValueSerializerBuilder<K,V>
Enclosing class:
ProducerRegistration<K,V>

public static class ProducerRegistration.ValueSerializerBuilder<K,V> extends Object
  • Method Details

    • withValueSerializer

      public <V2> ProducerRegistration.FinalBuilder<K,V2> withValueSerializer(org.apache.kafka.common.serialization.Serializer<V2> valueSerializer)
      Type Parameters:
      V2 - the Java type of the message value
      Parameters:
      valueSerializer - define a new value serializer
      Returns:
      builder
    • build

      public ProducerRegistration<K,V> build()