aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/streaming-programming-guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/streaming-programming-guide.md b/docs/streaming-programming-guide.md
index 6d6229625f..262512a639 100644
--- a/docs/streaming-programming-guide.md
+++ b/docs/streaming-programming-guide.md
@@ -704,7 +704,7 @@ create a DStream using data from Twitter's stream of tweets, you have to do the
{% highlight scala %}
import org.apache.spark.streaming.twitter._
-TwitterUtils.createStream(ssc)
+TwitterUtils.createStream(ssc, None)
{% endhighlight %}
</div>
<div data-lang="java">