Skip to content

Commit 7a21de9

Browse files
committed
[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 <shixiong@databricks.com> Closes #18101 from zsxwing/add-missing-example-dep. (cherry picked from commit 98c3852) Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
1 parent 5ae1c65 commit 7a21de9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@
9090
<version>${project.version}</version>
9191
<scope>provided</scope>
9292
</dependency>
93+
<dependency>
94+
<groupId>org.apache.spark</groupId>
95+
<artifactId>spark-sql-kafka-0-10_${scala.binary.version}</artifactId>
96+
<version>${project.version}</version>
97+
<scope>provided</scope>
98+
</dependency>
9399
<dependency>
94100
<groupId>org.apache.commons</groupId>
95101
<artifactId>commons-math3</artifactId>

0 commit comments

Comments
 (0)