Uses of Class
org.apache.flink.streaming.connectors.kafka.internals.KafkaTopicPartitionState
-
Packages that use KafkaTopicPartitionState Package Description org.apache.flink.streaming.connectors.kafka.internals -
-
Uses of KafkaTopicPartitionState in org.apache.flink.streaming.connectors.kafka.internals
Subclasses of KafkaTopicPartitionState in org.apache.flink.streaming.connectors.kafka.internals Modifier and Type Class Description classKafkaTopicPartitionStateWithWatermarkGenerator<T,KPH>A special version of the per-kafka-partition-state that additionally holds aTimestampAssigner,WatermarkGenerator, an immediateWatermarkOutput, and a deferredWatermarkOutputfor this partition.Fields in org.apache.flink.streaming.connectors.kafka.internals with type parameters of type KafkaTopicPartitionState Modifier and Type Field Description protected ClosableBlockingQueue<KafkaTopicPartitionState<T,KPH>>AbstractFetcher. unassignedPartitionsQueueQueue of partitions that are not yet assigned to any Kafka clients for consuming.Methods in org.apache.flink.streaming.connectors.kafka.internals that return types with arguments of type KafkaTopicPartitionState Modifier and Type Method Description protected List<KafkaTopicPartitionState<T,KPH>>AbstractFetcher. subscribedPartitionStates()Gets all partitions (with partition state) that this fetcher is subscribed to.Methods in org.apache.flink.streaming.connectors.kafka.internals with parameters of type KafkaTopicPartitionState Modifier and Type Method Description protected voidAbstractFetcher. emitRecordsWithTimestamps(Queue<T> records, KafkaTopicPartitionState<T,KPH> partitionState, long offset, long kafkaEventTimestamp)Emits a record attaching a timestamp to it.protected voidKafkaFetcher. partitionConsumerRecordsHandler(List<org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]>> partitionRecords, KafkaTopicPartitionState<T,org.apache.kafka.common.TopicPartition> partition)protected voidKafkaShuffleFetcher. partitionConsumerRecordsHandler(List<org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]>> partitionRecords, KafkaTopicPartitionState<T,org.apache.kafka.common.TopicPartition> partition)Constructor parameters in org.apache.flink.streaming.connectors.kafka.internals with type arguments of type KafkaTopicPartitionState Constructor Description KafkaConsumerThread(org.slf4j.Logger log, Handover handover, Properties kafkaProperties, ClosableBlockingQueue<KafkaTopicPartitionState<T,org.apache.kafka.common.TopicPartition>> unassignedPartitionsQueue, String threadName, long pollTimeout, boolean useMetrics, org.apache.flink.metrics.MetricGroup consumerMetricGroup, org.apache.flink.metrics.MetricGroup subtaskMetricGroup)
-