Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.44 KB

spark-sql-streaming-KafkaSourceRDD.adoc

File metadata and controls

39 lines (24 loc) · 1.44 KB

KafkaSourceRDD

KafkaSourceRDD is an RDD of Kafka’s ConsumerRecords (with keys and values being collections of bytes, i.e. Array[Byte]).

KafkaSourceRDD is created when:

getPreferredLocations Method

Caution
FIXME

compute Method

Caution
FIXME

getPartitions Method

Caution
FIXME

persist Method

Caution
FIXME

Creating KafkaSourceRDD Instance

KafkaSourceRDD takes the following when created:

KafkaSourceRDD initializes the internal registries and counters.