Package-level declarations

Types

Link copied to clipboard
abstract class GlobalKTableDefinition<K, V>(    val tableName: String,     val storeName: String = "-store",     val topicName: String = "-topic",     val serdes: KeyValueSerdes<K, V>,     val storeType: <Error class: unknown class><K, V> = timestampedKeyValueStore()) : TopicDefinition<K, V>

equals a GlobalTableDefinition

Link copied to clipboard
open class KeyValueSerdes<K, V>(val keySerde: Serde<K>, val valueSerde: Serde<V>)
Link copied to clipboard
interface TopicDefinition<K, V>

A definition for any Kafka topic.

Link copied to clipboard
interface TopicRecord<K>

Functions

Link copied to clipboard
fun <K, V> TopicDefinition<K, V>.consumeAsKStream(    builder: StreamsBuilder,     consumer: Consumed<K, V> = serdes.consumer("${pid}.input-stream")): KStream<K, V>
Link copied to clipboard
fun <K, V> TopicDefinition<K, V>.consumeAsKTable(    builder: StreamsBuilder,     consumer: Consumed<K, V> = serdes.consumer("${pid}.input-table")): KTable<K, V>
Link copied to clipboard
fun <inK, outK, inV, outV : TopicRecord<outK>> KStream<inK, inV>.flatMapTopicRecords(    name: String,     mapper: (key: inK, value: inV) -> Iterable<outV>): KStream<outK, outV>
Link copied to clipboard
fun <inK, inV, outK, outV : TopicRecord<outK>> KStream<inK, inV>.mapTopicRecords(    name: String,     mapper: (key: inK, value: inV) -> outV): KStream<outK, outV>