[ 
https://issues.apache.org/jira/browse/KAFKA-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jun Rao updated KAFKA-1171:
---------------------------

    Attachment: kafka-1171_v13.patch

Attach patch v13. This fixes all known issues.

1. Added hadoop-producer and hadoop-consumer projects.
2. Fixed maven publishing to use project name. kafka.jar is still published 
under kafka, same as we have in maven now. Other projects like hadoop-consumer 
will now be called kafka-hadoop-consumer to make it clear. Since those jars are 
not widely used, changing the name is probably ok.
3. Renamed the *_all tasks a bit and the new tasks are summarized in README.
4. For copyDependantLibs, I kept the name. The old assemblyDependency target in 
sbt builds a fat jar. Here, the jars are copied individually and not assembled 
together, which is clearer.
5. ./gradlew is probably used to distinguish it from the locally install gradle 
executable.

Future stuff:
1. I think we should keep the core jar name kafka until the old 
producer/consumer code is phased out, at which point, we can rename it to 
kafka-server. Before that, since it has the old client, we should leave it in 
the old coordinate so that an application can dedup the jars correctly if 
multiple versions of kafka jar are dragged in through transitive dependencies.

> Gradle build for Kafka
> ----------------------
>
>                 Key: KAFKA-1171
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1171
>             Project: Kafka
>          Issue Type: Improvement
>          Components: packaging
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: David Arthur
>            Assignee: David Arthur
>         Attachments: 0001-Adding-basic-Gradle-build.patch, 
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch, 
> kafka-1171_v10.patch, kafka-1171_v11.patch, kafka-1171_v12.patch, 
> kafka-1171_v13.patch, kafka-1171_v6.patch, kafka-1171_v7.patch, 
> kafka-1171_v8.patch, kafka-1171_v9.patch
>
>
> We have previously discussed moving away from SBT to an 
> easier-to-comprehend-and-debug build system such as Ant or Gradle. I put up a 
> patch for an Ant+Ivy build a while ago[1], and it sounded like people wanted 
> to check out Gradle as well.
> 1. https://issues.apache.org/jira/browse/KAFKA-855



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to