During migration from spark 1.6.2 to spark 2.0.0 appeared that package org.apache.spark.streaming.twitter has been removed and twitter streaming is no longer available as well as dependency
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming-twitter_2.11</artifactId>
<version>2.0.0</version>
</dependency>
Can anyone suggest how to procced twitter stream in new spark?
Twitter (and some other) driver support has been removed in Spark 2.0.
You can see it in the removal section of the Release Notes:
They have been extracted as a separate package under the Bahir Project. The twitter extension, streaming-twitter, can be found via:
sbt:
Maven:
More on that (thanks to @IvanShulak) in the Mailing List
Edit:
For Spark 2.0.1, use: