diff options
author | Dmitriy Sokolov <silentsokolov@gmail.com> | 2016-08-30 11:23:37 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-08-30 11:23:37 +0100 |
commit | d4eee9932edf1a489d7fe9120a0f003150834df6 (patch) | |
tree | 2b05ac9cfaf1e76ca0b44e579d54ec8b3b7494f2 /docs/streaming-kafka-0-8-integration.md | |
parent | befab9c1c6b59ad90f63a7d10e12b186be897f15 (diff) | |
download | spark-d4eee9932edf1a489d7fe9120a0f003150834df6.tar.gz spark-d4eee9932edf1a489d7fe9120a0f003150834df6.tar.bz2 spark-d4eee9932edf1a489d7fe9120a0f003150834df6.zip |
[MINOR][DOCS] Fix minor typos in python example code
## What changes were proposed in this pull request?
Fix minor typos python example code in streaming programming guide
## How was this patch tested?
N/A
Author: Dmitriy Sokolov <silentsokolov@gmail.com>
Closes #14805 from silentsokolov/fix-typos.
Diffstat (limited to 'docs/streaming-kafka-0-8-integration.md')
-rw-r--r-- | docs/streaming-kafka-0-8-integration.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/streaming-kafka-0-8-integration.md b/docs/streaming-kafka-0-8-integration.md index f8f7b95cf7..d3fc9adfcf 100644 --- a/docs/streaming-kafka-0-8-integration.md +++ b/docs/streaming-kafka-0-8-integration.md @@ -195,8 +195,8 @@ Next, we discuss how to use this approach in your streaming application. for o in offsetRanges: print "%s %s %s %s" % (o.topic, o.partition, o.fromOffset, o.untilOffset) - directKafkaStream\ - .transform(storeOffsetRanges)\ + directKafkaStream \ + .transform(storeOffsetRanges) \ .foreachRDD(printOffsetRanges) </div> </div> |