CommittableProducerRecords

fs2.kafka.CommittableProducerRecords
See theCommittableProducerRecords companion object
sealed abstract class CommittableProducerRecords[F[_], +K, +V]

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.

Attributes

Companion:
object
Source:
CommittableProducerRecords.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

The offset to commit.

The offset to commit.

Attributes

Source:
CommittableProducerRecords.scala

The records to produce. Can be empty to simply commit the offset.

The records to produce. Can be empty to simply commit the offset.

Attributes

Source:
CommittableProducerRecords.scala