MutableReceiverOptions

class MutableReceiverOptions<K, V>(props: Map<String, Any> = mutableMapOf())

Constructors

Link copied to clipboard
constructor(props: Map<String, Any> = mutableMapOf())

Types

Link copied to clipboard
interface Subscription

Functions

Link copied to clipboard
fun assignListener(onAssign: () -> Collection<ReceiverPartition>)
Link copied to clipboard
Link copied to clipboard
fun closeTimeout(duration: Duration)
Link copied to clipboard
fun commitBatchSize(size: Int)
Link copied to clipboard
fun commitInterval(duration: Duration)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun consumerListener(consumerAdded: (id: String, consumer: Consumer<*, *>) -> Unit = { _, _ -> }, consumerRemoved: (id: String, consumer: Consumer<*, *>) -> Unit = { _, _ -> })
Link copied to clipboard
fun keyDeserializer(transform: (topic: String, data: ByteArray) -> K)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun pollTimeout(duration: Duration)
Link copied to clipboard
fun properties(builder: PropertyBuilder.() -> Unit)
Link copied to clipboard
fun revokeListeners(onRevoke: () -> Collection<ReceiverPartition>)
Link copied to clipboard
fun scheduler(scheduler: () -> Scheduler)
Link copied to clipboard
fun toReceiverOptions(): ReceiverOptions<K, V>
Link copied to clipboard
fun valueDeserializer(transform: (topic: String, data: ByteArray) -> V)