Github user mariobriggs commented on a diff in the pull request:
https://github.com/apache/spark/pull/10953#discussion_r51262209
--- Diff: external/kafka-assembly/pom.xml ---
@@ -43,6 +43,11 @@
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
+
<artifactId>spark-streaming-kafka-newapi_${scala.binary.version}</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.spark</groupId>
--- End diff --
Mark, the jar (spark-streaming-kafka-assembly*.jar) produced by this
assembly works only with kafka 0.9 brokers/servers. I have tested it.
So if i want to use Spark 2.0, and continue to run my existing
spark-streaming-kakfka-app (uses 'older' spark-streaming-kakfa api) because i
cannot upgrade kafka brokers/servers to 0.9, there is no
spark-streaming-kafka-assembly jar provided by spark 2.0 for that?
I think we need to provide for above, which means we need produce a
'spark-streaming-kafka-newapi-assembly*.jar' and a
'spark-streaming-kafka-assembly*.jar' . I am not sure if it is a best practice
to produce 2 diff assembly.jar from a single pom.xml if there is a way, else
just have a spark-kafka-assembly-newapi
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]