Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
val sparkConf = new SparkConf().setAppName("RecoverableNetworkWordCount")
// Create the context with a 1 second batch size
val ssc = new StreamingContext(sparkConf, Seconds(1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment