public static class ProducerRecords.ProducerRecord
extends java.lang.Object
Helper class containing all attributes and inner classes of a produce record.
| Modifier and Type | Class and Description |
|---|---|
static class |
ProducerRecords.ProducerRecord.Builder
ProducerRecords.ProducerRecord.Builder is a helper class implementing the builder pattern to easily create ProducerRecords.ProducerRecord
objects. |
static class |
ProducerRecords.ProducerRecord.Message
Message is a class that contains the payload to produce (mandatory attribute) and a map of headers (optional
attribute)
|
static class |
ProducerRecords.ProducerRecord.RoutingData
RoutingData is a class that contains the topic to produce to (mandatory value) and the shardingKey (optional
attribute)
|