case class KafkaContinuousInputPartition(topicPartition: TopicPartition, startOffset: Long, kafkaParams: Map[String, AnyRef], pollTimeoutMs: Long, failOnDataLoss: Boolean, includeHeaders: Boolean) extends InputPartition with Product with Serializable
An input partition for continuous Kafka processing. This will be serialized and transformed into a full reader on executors.
- topicPartition
The (topic, partition) pair this task is responsible for.
- startOffset
The offset to start reading from within the partition.
- kafkaParams
Kafka consumer params to use.
- pollTimeoutMs
The timeout for Kafka consumer polling.
- failOnDataLoss
Flag indicating whether data reader should fail if some offsets are skipped.
- includeHeaders
Flag indicating whether to include Kafka records' headers.
- Alphabetic
- By Inheritance
- KafkaContinuousInputPartition
- Product
- Equals
- InputPartition
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new KafkaContinuousInputPartition(topicPartition: TopicPartition, startOffset: Long, kafkaParams: Map[String, AnyRef], pollTimeoutMs: Long, failOnDataLoss: Boolean, includeHeaders: Boolean)
- topicPartition
The (topic, partition) pair this task is responsible for.
- startOffset
The offset to start reading from within the partition.
- kafkaParams
Kafka consumer params to use.
- pollTimeoutMs
The timeout for Kafka consumer polling.
- failOnDataLoss
Flag indicating whether data reader should fail if some offsets are skipped.
- includeHeaders
Flag indicating whether to include Kafka records' headers.
Value Members
- val failOnDataLoss: Boolean
- val includeHeaders: Boolean
- val kafkaParams: Map[String, AnyRef]
- val pollTimeoutMs: Long
- def preferredLocations(): Array[String]
- Definition Classes
- InputPartition
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val startOffset: Long
- val topicPartition: TopicPartition