is the bootstrap.servers
setting
and represents the list of servers to connect to.
is the acks
setting and represents
the number of acknowledgments the producer requires the leader to
have received before considering a request complete.
See Acks.
is the buffer.memory
setting and
represents the total bytes of memory the producer
can use to buffer records waiting to be sent to the server.
is the compression.type
setting and specifies
what compression algorithm to apply to all the generated data
by the producer. The default is none (no compression applied).
is the retries
setting. A value greater than zero will
cause the client to resend any record whose send fails with
a potentially transient error.
is the batch.size
setting.
The producer will attempt to batch records together into fewer
requests whenever multiple records are being sent to the
same partition. This setting specifies the maximum number of
records to batch together.
is the client.id
setting,
an id string to pass to the server when making requests.
The purpose of this is to be able to track the source of
requests beyond just ip/port by allowing a logical application
name to be included in server-side request logging.
is the linger.ms
setting
and specifies to buffer records for more efficient batching,
up to the maximum batch size or for the maximum lingerTime
.
If zero, then no buffering will happen, but if different
from zero, then records will be delayed in absence of load.
is the max.request.size
setting
and represents the maximum size of a request in bytes.
This is also effectively a cap on the maximum record size.
is the receive.buffer.bytes
setting
being the size of the TCP receive buffer (SO_RCVBUF) to use
when reading data.
is the send.buffer.bytes
setting,
being the size of the TCP send buffer (SO_SNDBUF) to use
when sending data.
is the timeout.ms
setting,
a configuration the controls the maximum amount of time
the server will wait for acknowledgments from followers to meet
the acknowledgment requirements the producer has specified with
the acks
configuration.
is the block.on.buffer.full
setting,
which controls whether producer stops accepting new
records (blocks) or throws errors when the memory buffer
is exhausted.
is the metadata.fetch.timeout.ms
setting.
The period of time in milliseconds after which we force a
refresh of metadata even if we haven't seen any partition
leadership changes to proactively discover any new brokers
or partitions.
is the metadata.max.age.ms
setting.
The period of time in milliseconds after which we force a
refresh of metadata even if we haven't seen any partition
leadership changes to proactively discover any new brokers
or partitions.
is the reconnect.backoff.ms
setting.
The amount of time to wait before attempting to reconnect to a
given host. This avoids repeatedly connecting to a host in a
tight loop. This backoff applies to all requests sent by the
consumer to the broker.
is the retry.backoff.ms
setting.
The amount of time to wait before attempting to retry a failed
request to a given topic partition. This avoids repeatedly
sending requests in a tight loop under some failure scenarios.
is the monix.producer.sink.parallelism
setting indicating how many requests the KafkaProducerSink
can execute in parallel.
is the acks
setting and represents
the number of acknowledgments the producer requires the leader to
have received before considering a request complete.
is the acks
setting and represents
the number of acknowledgments the producer requires the leader to
have received before considering a request complete.
See Acks.
is the batch.size
setting.
is the batch.size
setting.
The producer will attempt to batch records together into fewer
requests whenever multiple records are being sent to the
same partition. This setting specifies the maximum number of
records to batch together.
is the block.on.buffer.full
setting,
which controls whether producer stops accepting new
records (blocks) or throws errors when the memory buffer
is exhausted.
is the bootstrap.servers
setting
and represents the list of servers to connect to.
is the buffer.memory
setting and
represents the total bytes of memory the producer
can use to buffer records waiting to be sent to the server.
is the client.id
setting,
an id string to pass to the server when making requests.
is the client.id
setting,
an id string to pass to the server when making requests.
The purpose of this is to be able to track the source of
requests beyond just ip/port by allowing a logical application
name to be included in server-side request logging.
is the compression.type
setting and specifies
what compression algorithm to apply to all the generated data
by the producer.
is the compression.type
setting and specifies
what compression algorithm to apply to all the generated data
by the producer. The default is none (no compression applied).
is the linger.ms
setting
and specifies to buffer records for more efficient batching,
up to the maximum batch size or for the maximum lingerTime
.
is the linger.ms
setting
and specifies to buffer records for more efficient batching,
up to the maximum batch size or for the maximum lingerTime
.
If zero, then no buffering will happen, but if different
from zero, then records will be delayed in absence of load.
is the max.request.size
setting
and represents the maximum size of a request in bytes.
is the max.request.size
setting
and represents the maximum size of a request in bytes.
This is also effectively a cap on the maximum record size.
is the metadata.fetch.timeout.ms
setting.
is the metadata.fetch.timeout.ms
setting.
The period of time in milliseconds after which we force a
refresh of metadata even if we haven't seen any partition
leadership changes to proactively discover any new brokers
or partitions.
is the metadata.max.age.ms
setting.
is the metadata.max.age.ms
setting.
The period of time in milliseconds after which we force a
refresh of metadata even if we haven't seen any partition
leadership changes to proactively discover any new brokers
or partitions.
is the monix.producer.sink.parallelism
setting indicating how many requests the KafkaProducerSink
can execute in parallel.
is the receive.buffer.bytes
setting
being the size of the TCP receive buffer (SO_RCVBUF) to use
when reading data.
is the reconnect.backoff.ms
setting.
is the reconnect.backoff.ms
setting.
The amount of time to wait before attempting to reconnect to a
given host. This avoids repeatedly connecting to a host in a
tight loop. This backoff applies to all requests sent by the
consumer to the broker.
is the retries
setting.
is the retries
setting. A value greater than zero will
cause the client to resend any record whose send fails with
a potentially transient error.
is the retry.backoff.ms
setting.
is the retry.backoff.ms
setting.
The amount of time to wait before attempting to retry a failed
request to a given topic partition. This avoids repeatedly
sending requests in a tight loop under some failure scenarios.
is the send.buffer.bytes
setting,
being the size of the TCP send buffer (SO_SNDBUF) to use
when sending data.
is the timeout.ms
setting,
a configuration the controls the maximum amount of time
the server will wait for acknowledgments from followers to meet
the acknowledgment requirements the producer has specified with
the acks
configuration.
The Kafka Producer config.
For the official documentation on the available configuration options, see Producer Configs on
kafka.apache.org
.is the
bootstrap.servers
setting and represents the list of servers to connect to.is the
acks
setting and represents the number of acknowledgments the producer requires the leader to have received before considering a request complete. See Acks.is the
buffer.memory
setting and represents the total bytes of memory the producer can use to buffer records waiting to be sent to the server.is the
compression.type
setting and specifies what compression algorithm to apply to all the generated data by the producer. The default is none (no compression applied).is the
retries
setting. A value greater than zero will cause the client to resend any record whose send fails with a potentially transient error.is the
batch.size
setting. The producer will attempt to batch records together into fewer requests whenever multiple records are being sent to the same partition. This setting specifies the maximum number of records to batch together.is the
client.id
setting, an id string to pass to the server when making requests. The purpose of this is to be able to track the source of requests beyond just ip/port by allowing a logical application name to be included in server-side request logging.is the
linger.ms
setting and specifies to buffer records for more efficient batching, up to the maximum batch size or for the maximumlingerTime
. If zero, then no buffering will happen, but if different from zero, then records will be delayed in absence of load.is the
max.request.size
setting and represents the maximum size of a request in bytes. This is also effectively a cap on the maximum record size.is the
receive.buffer.bytes
setting being the size of the TCP receive buffer (SO_RCVBUF) to use when reading data.is the
send.buffer.bytes
setting, being the size of the TCP send buffer (SO_SNDBUF) to use when sending data.is the
timeout.ms
setting, a configuration the controls the maximum amount of time the server will wait for acknowledgments from followers to meet the acknowledgment requirements the producer has specified with theacks
configuration.is the
block.on.buffer.full
setting, which controls whether producer stops accepting new records (blocks) or throws errors when the memory buffer is exhausted.is the
metadata.fetch.timeout.ms
setting. The period of time in milliseconds after which we force a refresh of metadata even if we haven't seen any partition leadership changes to proactively discover any new brokers or partitions.is the
metadata.max.age.ms
setting. The period of time in milliseconds after which we force a refresh of metadata even if we haven't seen any partition leadership changes to proactively discover any new brokers or partitions.is the
reconnect.backoff.ms
setting. The amount of time to wait before attempting to reconnect to a given host. This avoids repeatedly connecting to a host in a tight loop. This backoff applies to all requests sent by the consumer to the broker.is the
retry.backoff.ms
setting. The amount of time to wait before attempting to retry a failed request to a given topic partition. This avoids repeatedly sending requests in a tight loop under some failure scenarios.is the
monix.producer.sink.parallelism
setting indicating how many requests the KafkaProducerSink can execute in parallel.