Spark Streaming had almost no notable changes between Spark 1.6 and Spark 2.0. Jacek believes that it will be marked deprecated after the modern Structured Streaming has been announced ready for production use
(which has happened at SparkSummit 2017 in San Francisco)
From the official documentation of Apache Spark
val ssc = new StreamingContext(sc, Seconds(5))
val dstream = KafkaUtils.createDirectStream[String, String](...)