Class ProducedX<K,V>

java.lang.Object
com.bakdata.kafka.streams.kstream.ProducedX<K,V>
Type Parameters:
K - type of keys
V - type of values

public final class ProducedX<K,V> extends Object
Use Preconfigured to lazily configure Serde for Produced using Configurator
See Also:
  • Produced
  • Method Summary

    Modifier and Type
    Method
    Description
    static <K, V> ProducedX<K,V>
    as(String processorName)
     
    static <K, V> ProducedX<K,V>
    keySerde(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<K>> keySerde)
     
    static <K, V> ProducedX<K,V>
    keySerde(org.apache.kafka.common.serialization.Serde<K> keySerde)
     
    protected final ProducedX<K,V>
    modify(BiFunction<? super org.apache.kafka.streams.kstream.Produced<K,V>,? super com.bakdata.kafka.Configurator,? extends org.apache.kafka.streams.kstream.Produced<K,V>> modifier)
     
    protected final ProducedX<K,V>
    modify(Function<? super org.apache.kafka.streams.kstream.Produced<K,V>,? extends org.apache.kafka.streams.kstream.Produced<K,V>> modifier)
     
    protected ProducedX<K,V>
    newInstance(Function<com.bakdata.kafka.Configurator,org.apache.kafka.streams.kstream.Produced<K,V>> initializer)
     
    static <K, V> ProducedX<K,V>
    streamPartitioner(org.apache.kafka.streams.processor.StreamPartitioner<? super K,? super V> partitioner)
     
    static <K, V> ProducedX<K,V>
    valueSerde(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<V>> valueSerde)
     
    static <K, V> ProducedX<K,V>
    valueSerde(org.apache.kafka.common.serialization.Serde<V> valueSerde)
     
    static <K, V> ProducedX<K,V>
    with(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<K>> keySerde, com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<V>> valueSerde)
     
    static <K, V> ProducedX<K,V>
    with(org.apache.kafka.common.serialization.Serde<K> keySerde, org.apache.kafka.common.serialization.Serde<V> valueSerde)
     
    withKeySerde(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<K>> keySerde)
     
    withKeySerde(org.apache.kafka.common.serialization.Serde<K> keySerde)
     
     
    withStreamPartitioner(org.apache.kafka.streams.processor.StreamPartitioner<? super K,? super V> partitioner)
     
    withValueSerde(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<V>> valueSerde)
     
    withValueSerde(org.apache.kafka.common.serialization.Serde<V> valueSerde)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • keySerde

      public static <K, V> ProducedX<K,V> keySerde(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<K>> keySerde)
      See Also:
      • Produced.keySerde(Serde)
    • keySerde

      public static <K, V> ProducedX<K,V> keySerde(org.apache.kafka.common.serialization.Serde<K> keySerde)
      See Also:
      • Produced.keySerde(Serde)
    • valueSerde

      public static <K, V> ProducedX<K,V> valueSerde(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<V>> valueSerde)
      See Also:
      • Produced.valueSerde(Serde)
    • valueSerde

      public static <K, V> ProducedX<K,V> valueSerde(org.apache.kafka.common.serialization.Serde<V> valueSerde)
      See Also:
      • Produced.valueSerde(Serde)
    • with

      public static <K, V> ProducedX<K,V> with(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<K>> keySerde, com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<V>> valueSerde)
      See Also:
      • Produced.with(Serde, Serde)
    • with

      public static <K, V> ProducedX<K,V> with(org.apache.kafka.common.serialization.Serde<K> keySerde, org.apache.kafka.common.serialization.Serde<V> valueSerde)
      See Also:
      • Produced.with(Serde, Serde)
    • as

      public static <K, V> ProducedX<K,V> as(String processorName)
      See Also:
      • Produced.as(String)
    • streamPartitioner

      public static <K, V> ProducedX<K,V> streamPartitioner(org.apache.kafka.streams.processor.StreamPartitioner<? super K,? super V> partitioner)
      See Also:
      • Produced.streamPartitioner(StreamPartitioner)
    • withKeySerde

      public ProducedX<K,V> withKeySerde(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<K>> keySerde)
      See Also:
      • Produced.withKeySerde(Serde)
    • withKeySerde

      public ProducedX<K,V> withKeySerde(org.apache.kafka.common.serialization.Serde<K> keySerde)
      See Also:
      • Produced.withKeySerde(Serde)
    • withValueSerde

      public ProducedX<K,V> withValueSerde(com.bakdata.kafka.Preconfigured<? extends org.apache.kafka.common.serialization.Serde<V>> valueSerde)
      See Also:
      • Produced.withValueSerde(Serde)
    • withValueSerde

      public ProducedX<K,V> withValueSerde(org.apache.kafka.common.serialization.Serde<V> valueSerde)
      See Also:
      • Produced.withValueSerde(Serde)
    • withStreamPartitioner

      public ProducedX<K,V> withStreamPartitioner(org.apache.kafka.streams.processor.StreamPartitioner<? super K,? super V> partitioner)
      See Also:
      • Produced.withStreamPartitioner(StreamPartitioner)
    • withName

      public ProducedX<K,V> withName(String name)
      See Also:
      • Produced.withName(String)
    • newInstance

      protected ProducedX<K,V> newInstance(Function<com.bakdata.kafka.Configurator,org.apache.kafka.streams.kstream.Produced<K,V>> initializer)
    • modify

      protected final ProducedX<K,V> modify(BiFunction<? super org.apache.kafka.streams.kstream.Produced<K,V>,? super com.bakdata.kafka.Configurator,? extends org.apache.kafka.streams.kstream.Produced<K,V>> modifier)
    • modify

      protected final ProducedX<K,V> modify(Function<? super org.apache.kafka.streams.kstream.Produced<K,V>,? extends org.apache.kafka.streams.kstream.Produced<K,V>> modifier)