@Internal public class KafkaPartitionSplitReaderWrapper extends KafkaPartitionSplitReader implements AutoCloseable
| Constructor and Description |
|---|
KafkaPartitionSplitReaderWrapper(Properties props,
org.apache.flink.api.connector.source.SourceReaderContext context,
KafkaSourceReaderMetrics kafkaSourceReaderMetrics,
String kafkaClusterId) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.connector.base.source.reader.RecordsWithSplitIds<org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]>> |
fetch() |
close, handleSplitsChanges, notifyCheckpointComplete, pauseOrResumeSplits, wakeUpclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic KafkaPartitionSplitReaderWrapper(Properties props, org.apache.flink.api.connector.source.SourceReaderContext context, KafkaSourceReaderMetrics kafkaSourceReaderMetrics, String kafkaClusterId)
public org.apache.flink.connector.base.source.reader.RecordsWithSplitIds<org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]>> fetch()
throws IOException
fetch in interface org.apache.flink.connector.base.source.reader.splitreader.SplitReader<org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]>,KafkaPartitionSplit>fetch in class KafkaPartitionSplitReaderIOExceptionCopyright © 2022–2024 The Apache Software Foundation. All rights reserved.