To set Cusumer Key, Consumer Secret, Access Token, and Access Token Secret,
edit src/main/resources/twitter4j.properties
.
Copy .sbtopts.example
to .sbtops
and edit.
Declaration in SPARK_HOME/conf/spark-default.conf
spark.driver.extraJavaOptions -Dhttp.proxyHost=proxy.host -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.host -Dhttps.proxyPort=8080
$ sbt
> assembly
$ spark-submit --class local.riverside.TwitterStreaming --master local[2] ./target/scala-2.11/spark-streaming-twitter-assembly-0.0.1.jar '#heartbleed'