public class Kafka010AvroTableSource extends KafkaAvroTableSource
StreamTableSource for Kafka 0.10.| Constructor and Description |
|---|
Kafka010AvroTableSource(String topic,
Properties properties,
Class<? extends org.apache.avro.specific.SpecificRecordBase> record)
Creates a Kafka 0.10 Avro
StreamTableSource using a given SpecificRecord. |
explainSource, getDataStream, getDeserializationSchema, getReturnTypepublic Kafka010AvroTableSource(String topic, Properties properties, Class<? extends org.apache.avro.specific.SpecificRecordBase> record)
StreamTableSource using a given SpecificRecord.topic - Kafka topic to consume.properties - Properties for the Kafka consumer.record - Avro specific record.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.