OutT - the type of values being serializedpublic interface KafkaEgressSerializer<OutT>
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
org.apache.kafka.clients.producer.ProducerRecord<byte[],byte[]> |
serialize(OutT t)
Serializes given element and returns it as a
ProducerRecord. |
org.apache.kafka.clients.producer.ProducerRecord<byte[],byte[]> serialize(OutT t)
ProducerRecord.t - element to be serializedProducerRecordCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.