...
Code Block | ||||
---|---|---|---|---|
| ||||
void print(final Printed<K, V> printed); KStream<K, V> through(final String topic, final Produced<K, V> partitioned); void to(final String topic, final Produced<V, V> partitioned); KGroupedStream<K, V> groupByKey(final Serialized<K, V> serialized); <KR> KGroupedStream<KR, V> groupBy(final KeyValueMapper<? super K, ? super V, KR> selector, Serialized<KR, V> serialized); <VO, VR> KStream<K, VR> join(final KStream<K, VO> other, final ValueJoiner<? super V, ? super VO, ? extends VR> joiner, final JoinWindows windows, final Joined<K, V, VO> options); <VT, VR> KStream<K, VR> join(final KTable<K, VT> other, final ValueJoiner<? super V, ? super VT, ? extends VR> joiner, final Joined<K, V, VT> options); <VO, VR> KStream<K, VR> leftJoin(final KStream<K, VO> other, final ValueJoiner<? super V, ? super VO, ? extends VR> joiner, final JoinWindows windows, final Joined<K, V, VO> options); <VT, VR> KStream<K, VR> leftJoin(final KTable<K, VT> other, final ValueJoiner<? super V, ? super VT, ? extends VR> joiner, final JoinWindows windows, final Joined<K, V, VT> options); <VO, VR> KStream<K, VR> outerJoin(final KStream<K, VO> other, final ValueJoiner<? super V, ? super VO, ? extends VR> joiner, final JoinWindows windows, final Joined<K, V, VO> options); <VT, VR> KStream<K, VR> outerJoin(final KTable<K, VT> other, final ValueJoiner<? super V, ? super VT, ? extends VR> joiner, final JoinWindows windows, final Joined<K, V, VT> options); |
...
Code Block | ||||
---|---|---|---|---|
| ||||
public synchronized <K, V> TopologyBuilderTopology addGlobalStore(final StateStoreBuilder storeSupplier, final String sourceName, final TimestampExtractor timestampExtractor, final Deserializer keyDeserializer, final Deserializer valueDeserializer, final String topic, final String processorName, final ProcessorSupplier stateUpdateSupplier) public synchronized final TopologyBuilderTopology addStateStore(final StateStoreBuilder supplier, final String... processorNames) |
...
Code Block |
---|
public synchronized <K, V> KStream<K, V> stream(final Consumed<K, V> options, final String... topics) public synchronized <K, V> KStream<K, V> stream(final Pattern patternConsumed<K, V> options, final Consumed<K, V> optionsPattern pattern) public synchronized <K, V> KTable<K, V> table(final String topicConsumed<K, V> consumed, final Consumed<K, V> consumedString topic) public synchronized <K, V> KTable<K, V> table(final String topicConsumed<K, V> consumed, final Consumed<K, V> consumedString topic, final Materialized<K, V> materialized) public synchronized <K, V> GlobalKTable<K, V> globalTable(final String topicConsumed<K, V> consumed, final Consumed<K, V> consumedString topic) public synchronized <K, V> GlobalKTable<K, V> globalTable(final String topicConsumed<K, V> consumed, final Consumed<K, V> consumedString topic, final Materialized<K, V> materialized) |
...
Code Block | ||||
---|---|---|---|---|
| ||||
/**
* Optional params that can be passed to groupBy and groupByKey operations
*/
public class Serialized<K, V> {
public static <K, V> Serialized<K, V> with(final Serde<K> keySerde, final Serde<V> valueSerde)
public static <K, V> Serialized<K, V> with(final Serde<K> keySerde, final Serde<V> valueSerde)
public Serialized<K, V> withKeySerde(final Serde<K> keySerde)
public Serialized<K, V> withValueSerde(final Serde valueSerde)
} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
/** * Optional arguments that can be specified when doing to and through operations */ public static <K, V> Produced<K, V> with(final Serde<K> keySerde, final Serde<V> valueSerde) public static <K, V> Produced<K, V> with(final StreamPartitioner<K, V> partitionerSerde<K> keySerde, final Serde<K>Serde<V> keySerdevalueSerde, final Serde<V> valueSerdeStreamPartitioner<K, V> partitioner) public static <K, V> Produced<K, V> keySerde(final Serde<K> keySerde) public static <K, V> Produced<K, V> valueSerde(final Serde<V> valueSerde) public static <K, V> Produced<K, V> streamPartitioner(final StreamPartitioner<K, V> partitioner) public Produced<K, V> withStreamPartitioner(final StreamPartitioner<K, V> partitioner) public Produced<K, V> withValueSerde(final Serde<V> valueSerde) public Produced<K, V> withKeySerde(final Serde<K> keySerde) |
...
Code Block | ||||
---|---|---|---|---|
| ||||
/** * Options for consuming a topic as a KStream or KTable */ public class Consumed<K, V> { public static <K, V> Consumed<K, V> deserializedWithwith(final Serde<K> keySerde, final Serde<V> valueSerde) public static <K, V> Consumed<K, V> timestampedWithwith(final TimestampExtractor extractor) public static <K, V> Consumed<K, V> offsetResetWithwith(final Topology.AutoOffsetReset resetPolicy) public Consumed<K, V> withKeySerde(final Serde<K> keySerde) public Consumed<K, V> withValueSerde(final Serde<V> valueSerde) public Consumed<K, V> withTimestampExtractor(final TimestampExtractor timestampExtractor) public Consumed<K, V> withOffsetResetPolicy(final Topology.AutoOffsetReset resetPolicy) } |
...