fs2.kafka
ProducerResult represents the result of having produced zero or more ProducerRecords from a ProducerMessage. Finally, a passthrough value and ProducerRecords along with respective RecordMetadata are emitted in a ProducerResult. The passthrough and records can be retrieved from an existing ProducerResult instance. Use ProducerResult#apply to create a new ProducerResult.
ProducerRecord
RecordMetadata
The passthrough value.
The records produced along with respective metadata.
The records produced along with respective metadata. Can be empty for passthrough-only.
ProducerResult represents the result of having produced zero or more
ProducerRecord
s from a ProducerMessage. Finally, a passthrough value andProducerRecord
s along with respectiveRecordMetadata
are emitted in a ProducerResult.The passthrough and records can be retrieved from an existing ProducerResult instance.
Use ProducerResult#apply to create a new ProducerResult.