ProducerResult

sealed abstract class ProducerResult[+P, +K, +V]

ProducerResult represents the result of having produced zero or more ProducerRecords from a ProducerRecords. 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.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

The passthrough value.

The passthrough value.

def records: Chunk[(ProducerRecord[K, V], RecordMetadata)]

The records produced along with respective metadata. Can be empty for passthrough-only.

The records produced along with respective metadata. Can be empty for passthrough-only.