Repository: spark Updated Branches: refs/heads/branch-2.1 7fc2347b5 -> 4f6fccf15
[SPARK-20874][EXAMPLES] Add Structured Streaming Kafka Source to examples project ## What changes were proposed in this pull request? Add Structured Streaming Kafka Source to the `examples` project so that people can run `bin/run-example StructuredKafkaWordCount ...`. ## How was this patch tested? manually tested it. Author: Shixiong Zhu <shixi...@databricks.com> Closes #18101 from zsxwing/add-missing-example-dep. (cherry picked from commit 98c3852986a2cb5f2d249d6c8ef602be283bd90e) Signed-off-by: Shixiong Zhu <shixi...@databricks.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4f6fccf1 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4f6fccf1 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4f6fccf1 Branch: refs/heads/branch-2.1 Commit: 4f6fccf15d40da503a7c6a8722058c38d57178cc Parents: 7fc2347 Author: Shixiong Zhu <shixi...@databricks.com> Authored: Thu May 25 10:49:14 2017 -0700 Committer: Shixiong Zhu <shixi...@databricks.com> Committed: Thu May 25 10:49:32 2017 -0700 ---------------------------------------------------------------------- examples/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/4f6fccf1/examples/pom.xml ---------------------------------------------------------------------- diff --git a/examples/pom.xml b/examples/pom.xml index 8fa731f..f17e605 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -91,6 +91,12 @@ <scope>provided</scope> </dependency> <dependency> + <groupId>org.apache.spark</groupId> + <artifactId>spark-sql-kafka-0-10_${scala.binary.version}</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> + <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-math3</artifactId> <scope>provided</scope> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org