public class KafkaBytesSource extends KafkaAbstractSource<byte[]>
| Constructor and Description |
|---|
KafkaBytesSource() |
| Modifier and Type | Method and Description |
|---|---|
protected Properties |
beforeCreateConsumer(Properties props) |
byte[] |
extractValue(org.apache.kafka.clients.consumer.ConsumerRecord<String,byte[]> record) |
close, open, startconsume, getQueueLength, readprotected Properties beforeCreateConsumer(Properties props)
beforeCreateConsumer in class KafkaAbstractSource<byte[]>public byte[] extractValue(org.apache.kafka.clients.consumer.ConsumerRecord<String,byte[]> record)
extractValue in class KafkaAbstractSource<byte[]>Copyright © 2017–2021 Apache Software Foundation. All rights reserved.