GlobalKTableDefinition
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
After defining a GlobalKTable, use buildInstance to create an instance - this has a backing topic from which the GlobalKTable will be updated.
Types
Link copied to clipboard
data class Instance<K, V>(val updatesKStream: KStream<K, V>, val globalKTable: GlobalKTable<K, V>, val definition: GlobalKTableDefinition<K, V>)
A GlobalKTable and the backing topic from which the table is filled.
Functions
Link copied to clipboard
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