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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to