← ZIO Kafka docs

RecordsOffered

zio.kafka.producer.ProducerEvent.RecordsOffered
final case class RecordsOffered(batchId: Long, records: Chunk[ProducedRecord]) extends ProducerEvent

Diagnostic event that is emitted when a batch of records is offered to the producer, and added to the internal send queue.

Value parameters

batchId

a unique identifier (for this producer, starting at 0) for this batch of records, can be used to match this diagnostics event with the other diagnostics events for the same batch

records

the records that were offered

Attributes

Source
ProducerEvent.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala