© Subhashini Chellappan, Dharanitharan Ganesan 2018
Subhashini Chellappan and Dharanitharan GanesanPractical Apache Sparkhttps://doi.org/10.1007/978-1-4842-3652-9_7

7. Spark Streaming with Kafka

Subhashini Chellappan1  and Dharanitharan Ganesan2
(1)
Bangalore, India
(2)
Krishnagiri, Tamil Nadu, India
 

In the previous chapter, you have learned the concepts of Structured Streaming, window-based Structured Streaming, and watermarking. In this chapter, we focus on the basics of Kafka and how to integrate Spark and Kafka.

The recommended background for this chapter is some prior experience with Scala. The mandatory prerequisite for this chapter is completion of the previous chapters assuming that you have practiced all the demos.

We focus on these topics:

Get Practical Apache Spark: Using the Scala API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.