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.