In this blog, we are going to see how Spark streaming will work, we will also see how to write Spark code to read streaming data, and store in some other place, let's say AWS RDS. Spark Architecture : We have below layers in Spark architecture. Data Storage (HDFS, HBase, Cassandra, Amazon S3) Resource Management (Hadoop Yarn, Apache Mesos, Kubernetes) Processing Engine (Spark Core) Libraries ( Spark streaming , Spark SQL, GraphX, MLlib) API's (Scala, Python, Java, R) Spark core : Spark core is the heart of Spark architecture. By default, it will process only batch data(historical data), on the top of this we can use libraries to perform multiple activities. That means, if you need to run any SQL queries on the top of Spark, it won't support directly, hence we use Spark SQL. We have to understand that there is a limitation in Spark where we can't read live incoming traffic, at-least we need to let that incoming traffic wait for few seconds, and then only read, process...