You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Grant Henke (JIRA)" <ji...@apache.org> on 2016/10/04 15:30:20 UTC

[jira] [Created] (HADOOP-13681) Reduce Kafka dependencies in hadoop-kafka module

Grant Henke created HADOOP-13681:
------------------------------------

             Summary: Reduce Kafka dependencies in hadoop-kafka module
                 Key: HADOOP-13681
                 URL: https://issues.apache.org/jira/browse/HADOOP-13681
             Project: Hadoop Common
          Issue Type: Improvement
          Components: metrics
    Affects Versions: 3.0.0-alpha1
            Reporter: Grant Henke


The newly added Kafka module defines the Kafka dependency as:
{noformat}
...
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-2.10</artifactId>
<version>${kafka.version}</version>
...
{noformat}

This is unfavorable because its using the server dependency, which transitively has the client jars. The server dependency includes all of the server code and some larger transitive dependencies like Scala and Zookeeper.

Instead the pom file should be changed to only depend on the clients jar which is a much smaller footprint:
{noformat}
...
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>${kafka.version}</version>
...
{noformat}






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org