Spark Streaming

11 / 20
Spark Streaming - In the following code, what does "lines" represent: val lines...

In the following code, what does "lines" represent:

val lines = ssc.socketTextStream("localhost", 9999) ?
  • Spark Context
  • DStream
  • An RDD
  • Socket