Package | Description |
---|---|
org.apache.flink.streaming.connectors.kafka.internal | |
org.apache.flink.streaming.connectors.kafka.internals |
Modifier and Type | Method and Description |
---|---|
protected void |
KafkaFetcher.emitRecord(T record,
KafkaTopicPartitionState<org.apache.kafka.common.TopicPartition> partition,
long offset,
org.apache.kafka.clients.consumer.ConsumerRecord<?,?> consumerRecord) |
protected void |
Kafka010Fetcher.emitRecord(T record,
KafkaTopicPartitionState<org.apache.kafka.common.TopicPartition> partition,
long offset,
org.apache.kafka.clients.consumer.ConsumerRecord<?,?> consumerRecord) |
protected void |
Kafka09Fetcher.emitRecord(T record,
KafkaTopicPartitionState<org.apache.kafka.common.TopicPartition> partition,
long offset,
org.apache.kafka.clients.consumer.ConsumerRecord<?,?> consumerRecord) |
Constructor and Description |
---|
KafkaConsumerThread(org.slf4j.Logger log,
Handover handover,
Properties kafkaProperties,
ClosableBlockingQueue<KafkaTopicPartitionState<org.apache.kafka.common.TopicPartition>> unassignedPartitionsQueue,
KafkaConsumerCallBridge09 consumerCallBridge,
String threadName,
long pollTimeout,
boolean useMetrics,
MetricGroup consumerMetricGroup,
MetricGroup subtaskMetricGroup,
FlinkConnectorRateLimiter rateLimiter) |
Modifier and Type | Class and Description |
---|---|
class |
KafkaTopicPartitionStateWithPeriodicWatermarks<T,KPH>
A special version of the per-kafka-partition-state that additionally holds
a periodic watermark generator (and timestamp extractor) per partition.
|
class |
KafkaTopicPartitionStateWithPunctuatedWatermarks<T,KPH>
A special version of the per-kafka-partition-state that additionally holds
a periodic watermark generator (and timestamp extractor) per partition.
|
Modifier and Type | Field and Description |
---|---|
protected ClosableBlockingQueue<KafkaTopicPartitionState<KPH>> |
AbstractFetcher.unassignedPartitionsQueue
Queue of partitions that are not yet assigned to any Kafka clients for consuming.
|
Modifier and Type | Method and Description |
---|---|
protected List<KafkaTopicPartitionState<KPH>> |
AbstractFetcher.subscribedPartitionStates()
Gets all partitions (with partition state) that this fetcher is subscribed to.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractFetcher.emitRecord(T record,
KafkaTopicPartitionState<KPH> partitionState,
long offset)
Emits a record without attaching an existing timestamp to it.
|
protected void |
AbstractFetcher.emitRecordWithTimestamp(T record,
KafkaTopicPartitionState<KPH> partitionState,
long offset,
long timestamp)
Emits a record attaching a timestamp to it.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.