TransactionalProducerRecords

fs2.kafka.TransactionalProducerRecords
See theTransactionalProducerRecords companion object
sealed abstract class TransactionalProducerRecords[F[_], +P, +K, +V]

Represents zero or more CommittableProducerRecords, together with arbitrary passthrough value, all of which can be used together with a TransactionalKafkaProducer to produce records and commit offsets within a single transaction.

TransactionalProducerRecordss can be created using one of the following options.

  • TransactionalProducerRecords#apply to produce zero or more records, commit the offsets, and then emit a ProducerResult with the results and specified passthrough value.
  • TransactionalProducerRecords#one to produce zero or more records, commit exactly one offset, then emit a ProducerResult with the results and specified passthrough value.

Attributes

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

Members list

Concise view

Value members

Abstract methods

The passthrough to emit once all records have been produced and committed.

The passthrough to emit once all records have been produced and committed.

Attributes

Source:
TransactionalProducerRecords.scala

The records to produce and commit. Can be empty for passthrough-only.

The records to produce and commit. Can be empty for passthrough-only.

Attributes

Source:
TransactionalProducerRecords.scala