aboutsummaryrefslogtreecommitdiff
path: root/docs/streaming-kafka-0-8-integration.md
diff options
context:
space:
mode:
authorDmitriy Sokolov <silentsokolov@gmail.com>2016-08-30 11:23:37 +0100
committerSean Owen <sowen@cloudera.com>2016-08-30 11:23:37 +0100
commitd4eee9932edf1a489d7fe9120a0f003150834df6 (patch)
tree2b05ac9cfaf1e76ca0b44e579d54ec8b3b7494f2 /docs/streaming-kafka-0-8-integration.md
parentbefab9c1c6b59ad90f63a7d10e12b186be897f15 (diff)
downloadspark-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.md4
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>