- Companion:
- class
Type members
Classlikes
KafkaProducer.Metrics extends KafkaProducer to provide access to the underlying producer metrics.
KafkaProducer.Metrics extends KafkaProducer to provide access to the underlying producer metrics.
Value members
Concrete methods
Creates a KafkaProducer using the provided settings and produces record in batches, limiting the number of records in the same batch using ProducerSettings#parallelism.
Creates a KafkaProducer using the provided settings and produces record in batches, limiting the number of records in the same batch using ProducerSettings#parallelism.
Produces records in batches using the provided KafkaProducer. The number of records in the same batch is limited using the ProducerSettings#parallelism setting.
Produces records in batches using the provided KafkaProducer. The number of records in the same batch is limited using the ProducerSettings#parallelism setting.
Creates a new KafkaProducer in the Resource
context,
using the specified ProducerSettings. Note that there
is another version where F[_]
is specified explicitly and
the key and value type can be inferred, which allows you
to use the following syntax.
Creates a new KafkaProducer in the Resource
context,
using the specified ProducerSettings. Note that there
is another version where F[_]
is specified explicitly and
the key and value type can be inferred, which allows you
to use the following syntax.
KafkaProducer.resource[F].using(settings)
Creates a new KafkaProducer in the Stream
context,
using the specified ProducerSettings. Note that there
is another version where F[_]
is specified explicitly and
the key and value type can be inferred, which allows you
to use the following syntax.
Creates a new KafkaProducer in the Stream
context,
using the specified ProducerSettings. Note that there
is another version where F[_]
is specified explicitly and
the key and value type can be inferred, which allows you
to use the following syntax.
KafkaProducer.stream[F].using(settings)