T - The type of elements produced by this consumer.public class FlinkKafkaConsumer081<T> extends FlinkKafkaConsumer<T>
The following additional configuration values are available:
FlinkKafkaConsumer.FetcherType, FlinkKafkaConsumer.OffsetStoreDEFAULT_GET_PARTITIONS_RETRIES, GET_PARTITIONS_RETRIES_KEY, MAX_NUM_PENDING_CHECKPOINTS, OFFSET_NOT_SET| Constructor and Description |
|---|
FlinkKafkaConsumer081(String topic,
org.apache.flink.streaming.util.serialization.DeserializationSchema<T> valueDeserializer,
Properties props)
Creates a new Kafka 0.8.1.x streaming source consumer.
|
assignPartitions, cancel, close, commitCheckpoint, getPartitionsForTopic, getProducedType, open, restoreState, run, snapshotState, validateZooKeeperConfigpublic FlinkKafkaConsumer081(String topic, org.apache.flink.streaming.util.serialization.DeserializationSchema<T> valueDeserializer, Properties props)
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.props - The properties used to configure the Kafka consumer client, and the ZooKeeper client.Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.