Skip to content

Commit 3d432b9

Browse files
committed
[SPARK-12238][STREAMING][DOCS] s/Advanced sources/External Sources in docs.
1 parent a0046e3 commit 3d432b9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/streaming-programming-guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ Spark Streaming provides two categories of built-in streaming sources.
595595

596596
- *Basic sources*: Sources directly available in the StreamingContext API.
597597
Examples: file systems, socket connections, and Akka actors.
598-
- *Advanced sources*: Sources like Kafka, Flume, Kinesis, Twitter, etc. are available through
598+
- *External sources*: Sources like Kafka, Flume, Kinesis, Twitter, etc. are available through
599599
extra utility classes. These require linking against extra dependencies as discussed in the
600600
[linking](#linking) section.
601601

@@ -673,7 +673,7 @@ see the API documentations of the relevant functions in
673673
Scala, [JavaStreamingContext](api/java/index.html?org/apache/spark/streaming/api/java/JavaStreamingContext.html)
674674
for Java, and [StreamingContext](api/python/pyspark.streaming.html#pyspark.streaming.StreamingContext) for Python.
675675

676-
### Advanced Sources
676+
### External Sources
677677
{:.no_toc}
678678

679679
<span class="badge" style="background-color: grey">Python API</span> As of Spark {{site.SPARK_VERSION_SHORT}},
@@ -710,12 +710,12 @@ TwitterUtils.createStream(jssc);
710710
</div>
711711
</div>
712712

713-
Note that these advanced sources are not available in the Spark shell, hence applications based on
714-
these advanced sources cannot be tested in the shell. If you really want to use them in the Spark
713+
Note that these external sources are not available in the Spark shell, hence applications based on
714+
these external sources cannot be tested in the shell. If you really want to use them in the Spark
715715
shell you will have to download the corresponding Maven artifact's JAR along with its dependencies
716716
and add it to the classpath.
717717

718-
Some of these advanced sources are as follows.
718+
Some of these external sources are as follows.
719719

720720
- **Kafka:** Spark Streaming {{site.SPARK_VERSION_SHORT}} is compatible with Kafka 0.8.2.1. See the [Kafka Integration Guide](streaming-kafka-integration.html) for more details.
721721

@@ -1771,7 +1771,7 @@ To run a Spark Streaming applications, you need to have the following.
17711771
- *Package the application JAR* - You have to compile your streaming application into a JAR.
17721772
If you are using [`spark-submit`](submitting-applications.html) to start the
17731773
application, then you will not need to provide Spark and Spark Streaming in the JAR. However,
1774-
if your application uses [advanced sources](#advanced-sources) (e.g. Kafka, Flume, Twitter),
1774+
if your application uses [external sources](#external-sources) (e.g. Kafka, Flume, Twitter),
17751775
then you will have to package the extra artifact they link to, along with their dependencies,
17761776
in the JAR that is used to deploy the application. For example, an application using `TwitterUtils`
17771777
will have to include `spark-streaming-twitter_{{site.SCALA_BINARY_VERSION}}` and all its

0 commit comments

Comments
 (0)