MutableSenderOptions

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

Constructors

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

Functions

Link copied to clipboard
fun closeTimeout(closeTimeout: Duration)
Link copied to clipboard
fun keySerializer(transform: (topic: String, key: K) -> ByteArray)
Link copied to clipboard
fun listener(added: (id: String, producer: Producer<*, *>) -> Unit = { _, _ -> }, removed: (id: String, producer: Producer<*, *>) -> Unit = { _, _ -> })
Link copied to clipboard
fun maxInFlight(maxInFlight: Int)
Link copied to clipboard
fun properties(builder: PropertyBuilder.() -> Unit)
Link copied to clipboard
fun scheduler(scheduler: () -> Scheduler)
Link copied to clipboard
fun stopOnError(stopOnError: Boolean = true)
Link copied to clipboard
fun toSenderOptions(): SenderOptions<K, V>
Link copied to clipboard
fun valueSerializer(transform: (topic: String, value: V) -> ByteArray)