Summary Introduction Spark Streaming StreamingContext Stream Operators Windowed Operators SaveAs Operators Stateful Operators PairDStreamFunctions web UI and Streaming Statistics Page Streaming Listeners Checkpointing JobScheduler InputInfoTracker JobGenerator DStreamGraph Discretized Streams (DStreams) Input DStreams ReceiverInputDStreams ConstantInputDStreams ForEachDStreams WindowedDStreams MapWithStateDStreams StateDStreams TransformedDStream Receivers ReceiverTracker ReceiverSupervisors ReceivedBlockHandlers Ingesting Data from Kafka KafkaUtils — Creating Kafka DStreams and RDDs DirectKafkaInputDStream — Direct Kafka DStream ConsumerStrategy — Kafka Consumers' Post-Configuration API ConsumerStrategies Factory Object LocationStrategy — Preferred Hosts per Topic Partitions KafkaRDD HasOffsetRanges and OffsetRange RecurringTimer Backpressure Dynamic Allocation (Elastic Scaling) ExecutorAllocationManager StreamingSource Settings