fs2.kafka.ProducerRecord
See theProducerRecord companion object
ProducerRecord represents a record which can be produced
to Kafka. At the very least, this includes a key of type K
,
a value of type V
, and to which topic the record should be
produced. The partition, timestamp, and headers can be set
by using the withPartition, withTimestamp, and
withHeaders functions, respectively.
To create a new instance, use ProducerRecord#apply.
Attributes
- Companion:
- object
- Source:
- ProducerRecord.scala
- Graph
- Supertypes