| 接口 | 说明 |
|---|---|
| KafkaCommitCallback |
A callback interface that the source operator can implement to trigger custom actions when a
commit request completes, which should normally be triggered from checkpoint complete event.
|
| 类 | 说明 |
|---|---|
| AbstractFetcher<T,KPH> |
Base class for all fetchers, which implement the connections to Kafka brokers and pull records
from Kafka partitions.
|
| AbstractPartitionDiscoverer |
Base class for all partition discoverers.
|
| ClosableBlockingQueue<E> |
A special form of blocking queue with two additions:
The queue can be closed atomically when empty.
|
| ExceptionProxy |
A proxy that communicates exceptions between threads.
|
| FlinkKafkaInternalProducer<K,V> |
Internal flink kafka producer.
|
| Handover |
The Handover is a utility to hand over data (a buffer of records) and exception from a
producer thread to a consumer thread.
|
| KafkaConsumerThread<T> |
The thread the runs the
KafkaConsumer, connecting to the brokers and polling records. |
| KafkaDeserializationSchemaWrapper<T> |
A simple wrapper for using the DeserializationSchema with the KafkaDeserializationSchema
interface.
|
| KafkaFetcher<T> |
A fetcher that fetches data from Kafka brokers via the Kafka consumer API.
|
| KafkaPartitionDiscoverer |
A partition discoverer that can be used to discover topics and partitions metadata from Kafka
brokers via the Kafka high-level consumer API.
|
| KafkaSerializationSchemaWrapper<T> |
An adapter from old style interfaces such as
SerializationSchema, FlinkKafkaPartitioner to the KafkaSerializationSchema. |
| KafkaShuffleFetcher<T> |
Fetch data from Kafka for Kafka Shuffle.
|
| KafkaShuffleFetcher.KafkaShuffleElement |
An element in a KafkaShuffle.
|
| KafkaShuffleFetcher.KafkaShuffleElementDeserializer<T> |
Deserializer for KafkaShuffleElement.
|
| KafkaShuffleFetcher.KafkaShuffleRecord<T> |
One value with Type T in a KafkaShuffle.
|
| KafkaShuffleFetcher.KafkaShuffleWatermark |
A watermark element in a KafkaShuffle.
|
| KafkaTopicPartition |
Flink's description of a partition in a Kafka topic.
|
| KafkaTopicPartition.Comparator |
A
Comparator for KafkaTopicPartitions. |
| KafkaTopicPartitionAssigner |
Utility for assigning Kafka partitions to consumer subtasks.
|
| KafkaTopicPartitionLeader |
Serializable Topic Partition info with leader Node information.
|
| KafkaTopicPartitionState<T,KPH> |
The state that the Flink Kafka Consumer holds for each Kafka partition.
|
| KafkaTopicPartitionStateSentinel |
Magic values used to represent special offset states before partitions are actually read.
|
| KafkaTopicPartitionStateWithWatermarkGenerator<T,KPH> |
A special version of the per-kafka-partition-state that additionally holds a
TimestampAssigner, WatermarkGenerator, an immediate WatermarkOutput, and a
deferred WatermarkOutput for this partition. |
| KafkaTopicsDescriptor |
A Kafka Topics Descriptor describes how the consumer subscribes to Kafka topics - either a fixed
list of topics, or a topic pattern.
|
| KeyedSerializationSchemaWrapper<T> |
A simple wrapper for using the SerializationSchema with the KeyedSerializationSchema interface.
|
| SourceContextWatermarkOutputAdapter<T> |
A
WatermarkOutput that forwards calls to a SourceFunction.SourceContext. |
| TransactionalIdsGenerator |
Class responsible for generating transactional ids to use when communicating with Kafka.
|
| 异常错误 | 说明 |
|---|---|
| AbstractPartitionDiscoverer.ClosedException |
Thrown if this discoverer was used to discover partitions after it was closed.
|
| AbstractPartitionDiscoverer.WakeupException |
Signaling exception to indicate that an actual Kafka call was interrupted.
|
| Handover.ClosedException |
An exception thrown by the Handover in the
Handover.pollNext() or Handover.produce(ConsumerRecords) method, after the Handover was closed via Handover.close(). |
| Handover.WakeupException |
A special exception thrown bv the Handover in the
Handover.produce(ConsumerRecords) method
when the producer is woken up from a blocking call via Handover.wakeupProducer(). |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.