Class KafkaInputRecordReader

java.lang.Object
com.linkedin.venice.hadoop.input.kafka.KafkaInputRecordReader
All Implemented Interfaces:
AutoCloseable, org.apache.hadoop.mapred.RecordReader<KafkaInputMapperKey,KafkaInputMapperValue>

public class KafkaInputRecordReader extends Object implements org.apache.hadoop.mapred.RecordReader<KafkaInputMapperKey,KafkaInputMapperValue>, AutoCloseable
Reads data from a Kafka-backed PubSub topic partition and converts each message into KafkaInputMapperKey/KafkaInputMapperValue. All generic iteration, polling, end-bound checks, and progress tracking are delegated to PubSubSplitIterator.