T - The type of elements produced by this consumer.@Deprecated public class PersistentKafkaSource<T> extends FlinkKafkaConsumer<T>
FlinkKafkaConsumer.FetcherType, FlinkKafkaConsumer.OffsetStoreDEFAULT_GET_PARTITIONS_RETRIES, GET_PARTITIONS_RETRIES_KEY, MAX_NUM_PENDING_CHECKPOINTS, OFFSET_NOT_SET| Constructor and Description |
|---|
PersistentKafkaSource(String topic,
org.apache.flink.streaming.util.serialization.DeserializationSchema<T> valueDeserializer,
kafka.consumer.ConsumerConfig consumerConfig)
Deprecated.
Creates a new Kafka 0.8.2.x streaming source consumer.
|
assignPartitions, cancel, close, getPartitionsForTopic, getProducedType, notifyCheckpointComplete, open, restoreState, run, snapshotState, validateZooKeeperConfigpublic PersistentKafkaSource(String topic, org.apache.flink.streaming.util.serialization.DeserializationSchema<T> valueDeserializer, kafka.consumer.ConsumerConfig consumerConfig)
topic - The name of the topic that should be consumed.valueDeserializer - The de-/serializer used to convert between Kafka's byte messages and Flink's objects.consumerConfig - The consumer config used to configure the Kafka consumer client, and the ZooKeeper client.Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.