toggle menu
river
jvm
switch theme
search in API
connector-apache-kafka
/
com.river.connector.apache.kafka
/
MutableSenderOptions
Mutable
Sender
Options
class
MutableSenderOptions
<
K
,
V
>
(
props
:
Map
<
String
,
Any
>
=
mutableMapOf()
)
Members
Constructors
Mutable
Sender
Options
Link copied to clipboard
constructor
(
props
:
Map
<
String
,
Any
>
=
mutableMapOf()
)
Functions
close
Timeout
Link copied to clipboard
fun
closeTimeout
(
closeTimeout
:
Duration
)
key
Serializer
Link copied to clipboard
fun
keySerializer
(
transform
:
(
topic
:
String
,
key
:
K
)
->
ByteArray
)
listener
Link copied to clipboard
fun
listener
(
added
:
(
id
:
String
,
producer
:
Producer
<
*
,
*
>
)
->
Unit
=
{ _, _ -> }
,
removed
:
(
id
:
String
,
producer
:
Producer
<
*
,
*
>
)
->
Unit
=
{ _, _ -> }
)
max
In
Flight
Link copied to clipboard
fun
maxInFlight
(
maxInFlight
:
Int
)
properties
Link copied to clipboard
fun
properties
(
builder
:
PropertyBuilder
.
(
)
->
Unit
)
scheduler
Link copied to clipboard
fun
scheduler
(
scheduler
:
(
)
->
Scheduler
)
stop
On
Error
Link copied to clipboard
fun
stopOnError
(
stopOnError
:
Boolean
=
true
)
to
Sender
Options
Link copied to clipboard
fun
toSenderOptions
(
)
:
SenderOptions
<
K
,
V
>
value
Serializer
Link copied to clipboard
fun
valueSerializer
(
transform
:
(
topic
:
String
,
value
:
V
)
->
ByteArray
)