Class BranchedX<K,V>
java.lang.Object
com.bakdata.kafka.streams.kstream.BranchedX<K,V>
- Type Parameters:
K
- type of keysV
- type of values
Extends the
Branched
interface by adding methods to simplify Serde
configuration, error handling,
and topic access-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V> BranchedX<K, V> modify
(BiFunction<? super org.apache.kafka.streams.kstream.Branched<K, V>, ? super StreamsContext, ? extends org.apache.kafka.streams.kstream.Branched<K, V>> modifier) modify
(Function<? super org.apache.kafka.streams.kstream.Branched<K, V>, ? extends org.apache.kafka.streams.kstream.Branched<K, V>> modifier) newInstance
(Function<StreamsContext, org.apache.kafka.streams.kstream.Branched<K, V>> initializer) static <K,
V> BranchedX<K, V> withConsumer
(Consumer<? super KStreamX<K, V>> chain) static <K,
V> BranchedX<K, V> withFunction
(Function<? super KStreamX<K, V>, ? extends org.apache.kafka.streams.kstream.KStream<K, V>> chain)
-
Method Details
-
withConsumer
- See Also:
-
Branched.withConsumer(Consumer)
-
withFunction
public static <K,V> BranchedX<K,V> withFunction(Function<? super KStreamX<K, V>, ? extends org.apache.kafka.streams.kstream.KStream<K, V>> chain) - See Also:
-
Branched.withFunction(Function)
-
as
- See Also:
-
Branched.as(String)
-
withName
- See Also:
-
Branched.withName(String)
-
newInstance
-
modify
protected final BranchedX<K,V> modify(BiFunction<? super org.apache.kafka.streams.kstream.Branched<K, V>, ? super StreamsContext, ? extends org.apache.kafka.streams.kstream.Branched<K, V>> modifier) -
modify
-