ProducerResult represents the result of having produced zero
or more ProducerRecord
s from a ProducerRecords. Finally, a
passthrough value and ProducerRecord
s 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.
- Companion:
- object
class Object
trait Matchable
class Any