Spark streaming is useful to read data from producer and distribute data over multiple machine in clustor or yarn mode.
Few term related to spark streaming –
RDD stands for resilient data distribution. RDD is created from the data that bring when spark streaming executes in batch interval.
Creating simple example of TCP socket streaming is given below –
Term like bindIP and bindport will be your specific spark ip/port. To test this application you can create a basic service socket port programm which must listen for clients socket from spark executor.
spark-master-url should be the url of machine where spark master is running . spark master url generally looks like spark://machineip:port