Created
January 1, 2017 21:55
-
-
Save josep2/5c071b3528f73341a959fd6b8c84ca19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set up A Streaming Context | |
val ssc = new StreamingContext(conf, Seconds(2)) | |
ssc | |
.couchbaseStream(from = FromBeginning, to = ToInfinity) | |
.someMethod() | |
ssc.start() | |
ssc.awaitTermination() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment