Skip to content

Conversation

@koeninger
Copy link
Contributor

What changes were proposed in this pull request?

Note that you shouldn't manually add dependencies on org.apache.kafka artifacts

How was this patch tested?

Doc only change, did jekyll build and looked at the page.

artifactId = spark-streaming-kafka-0-10_{{site.SCALA_BINARY_VERSION}}
version = {{site.SPARK_VERSION_SHORT}}

**Do not** manually add dependencies on org.apache.kafka artifacts (e.g. kafka-clients). The spark-streaming-kafka-0-10 artifact has the appropriate transitive dependencies already, and different versions may be incompatible in hard to diagnose ways.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose that if the app is using kafka APIs directly it should declare a direct dependency on it, but, harmonize the versions. That said, that's error prone, so this seems OK. If you make further changes to the text here can you back-tick the artifact names for readability?

@SparkQA
Copy link

SparkQA commented Apr 18, 2017

Test build #75913 has finished for PR 17675 at commit bcba5ba.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Apr 18, 2017

Test build #75915 has finished for PR 17675 at commit be55fd5.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Apr 19, 2017
… artifacts

## What changes were proposed in this pull request?

Note that you shouldn't manually add dependencies on org.apache.kafka artifacts

## How was this patch tested?

Doc only change, did jekyll build and looked at the page.

Author: cody koeninger <[email protected]>

Closes #17675 from koeninger/SPARK-20036.

(cherry picked from commit 71a8e9d)
Signed-off-by: Sean Owen <[email protected]>
@asfgit asfgit closed this in 71a8e9d Apr 19, 2017
peter-toth pushed a commit to peter-toth/spark that referenced this pull request Oct 6, 2018
… artifacts

## What changes were proposed in this pull request?

Note that you shouldn't manually add dependencies on org.apache.kafka artifacts

## How was this patch tested?

Doc only change, did jekyll build and looked at the page.

Author: cody koeninger <[email protected]>

Closes apache#17675 from koeninger/SPARK-20036.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants