CommittableProducerRecords represents zero or more ProducerRecords
and a CommittableOffset, used by TransactionalKafkaProducer to
produce the records and commit the offset atomically.
CommittableProducerRecordss can be created using one of the following options.
CommittableProducerRecords#apply
to produce zero or more records within the same transaction as the offset is committed.CommittableProducerRecords#one
to produce exactly one record within the same transaction as the offset is committed.
- Companion:
- object
- Source:
- CommittableProducerRecords.scala