public class KafkaBytesSink extends KafkaAbstractSink<String,byte[]>
| Constructor and Description |
|---|
KafkaBytesSink() |
| Modifier and Type | Method and Description |
|---|---|
protected Properties |
beforeCreateProducer(Properties props) |
KeyValue<String,byte[]> |
extractKeyValue(org.apache.pulsar.functions.api.Record<byte[]> record) |
close, open, writeprotected Properties beforeCreateProducer(Properties props)
beforeCreateProducer in class KafkaAbstractSink<String,byte[]>public KeyValue<String,byte[]> extractKeyValue(org.apache.pulsar.functions.api.Record<byte[]> record)
extractKeyValue in class KafkaAbstractSink<String,byte[]>Copyright © 2017–2022 Apache Software Foundation. All rights reserved.