...
Code Block |
---|
public synchronized <K, V> KStream<K, V> stream(final String topic, final Consumed<K, V> options, final String... topics) public synchronized <K, V> KStream<K, V> stream(final Pattern pattern, final Consumed<K, V> options, final Pattern pattern) public synchronized <K, V> KTable<K, V> table(final String topic, final Consumed<K, V> consumed, final String topic) public synchronized <K, V> KTable<K, V> table(final String topic, final Consumed<K, V> consumed, final String topic, final Materialized<K, V> materialized) public synchronized <K, V> GlobalKTable<K, V> globalTable(final String topic, final Consumed<K, V> consumed, final String topic) public synchronized <K, V> GlobalKTable<K, V> globalTable(final String topic, final Consumed<K, V> consumed, final String topic, final Materialized<K, V> materialized) |
...
Code Block | ||||
---|---|---|---|---|
| ||||
/**
* Options for consuming a topic as a KStream or KTable
*/
public class Consumed<K, V> {
public static <K, V> Consumed<K, V> with(final Serde<K> keySerde, final Serde<V> valueSerde, final TimestampExtractor extractor, final Topology.AutoOffsetReset resetPolicy)
public static <K, V> Consumed<K, V> with(final Serde<K> keySerde, final Serde<V> valueSerde)
public static <K, V> Consumed<K, V> with(final TimestampExtractor extractor)
public static <K, V> Consumed<K, V> with(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)
} |
...