Skip to content
Closed

tt #6845

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
cef5173
KAFKA-330 Delete topic followup - more tests and Joel's review comments
nehanarkhede Feb 8, 2014
8d623e1
KAFKA-1158 run rat is not needed this is documented now in the releas…
joestein Feb 9, 2014
5023c2f
kafka-1244,kafka-1246,kafka-1249; various gradle issues for release; …
junrao Feb 12, 2014
879e3e7
KAFKA-1263 Snazzy up the README markdown for better visibility on git…
joestein Feb 14, 2014
cb23e5d
KAFKA-1245 the jar files and pom are not being signed so nexus is fai…
joestein Feb 14, 2014
11f3975
KAFKA-1274 gradle.properties needs the variables used in the build.gr…
joestein Feb 19, 2014
fbb3525
KAFKA-1254 remove vestigial sbt patch by Joe Stein; reviewed by Jun Rao
joestein Feb 20, 2014
a274538
kafka-1271; controller logs exceptions during ZK session expiration; …
junrao Feb 20, 2014
b597126
auto rebalance last commit
sriramsub Feb 25, 2014
71a6318
KAFKA-1289 Misc. nitpicks in log cleaner for new 0.8.1 features patch…
joestein Mar 4, 2014
68baaa4
KAFKA-1288 add enclosing dir in release tar gz patch by Jun Rao, revi…
joestein Mar 4, 2014
0376245
KAFKA-1311 Add a flag to turn off delete topic until it is stable; re…
nehanarkhede Mar 21, 2014
c66e408
KAFKA-1315 log.dirs property in KafkaServer intolerant of trailing sl…
tnachen Mar 21, 2014
655e1a8
kafka-1319; kafka jar doesn't depend on metrics-annotation any more; …
junrao Mar 24, 2014
39a5607
KAFKA-1317 KafkaServer 0.8.1 not responding to .shutdown() cleanly, p…
tnachen Mar 26, 2014
5a6a1d8
KAFKA-1317 follow up fix
nehanarkhede Mar 29, 2014
dd08538
KAFKA-1350 Fix excessive state change logging;reviewed by Jun,Joel,Gu…
nehanarkhede Mar 31, 2014
2b6375b
KAFKA-1358 Broker throws exception when reconnecting to zookeeper; re…
tnachen Apr 3, 2014
0ffec14
KAFKA-1358: Fixing minor log4j statement
nehanarkhede Apr 3, 2014
48f1b74
KAFKA-1373; Set first dirty (uncompacted) offset to first offset of the
jjkoshy Apr 10, 2014
3c4ca85
KAFKA-1323; Fix regression due to KAFKA-1315 (support for relative
jjkoshy Apr 16, 2014
82f4a8e
KAFKA-1356 Topic metadata requests takes too long to process; reviewe…
tnachen Apr 17, 2014
839f1b1
KAFKA-1365; Second Manual preferred replica leader election command a…
Apr 18, 2014
eaf514b
KAFKA-1356 (Follow-up) patch to clean up metadata cache api; reviewed by
jjkoshy Apr 17, 2014
7502696
KAFKA-1362; Publish sources and javadoc jars; (also removed Scala 2.8…
jjkoshy Apr 18, 2014
b18d2c3
KAFKA-1355; Avoid sending all topic metadata on state changes. Reviewed
jjkoshy Apr 17, 2014
2ce7ff6
KAFKA-1398 dynamic config changes are broken.
jkreps Apr 18, 2014
4bcb22f
KAFKA-1398 Dynamic config follow-on-comments.
jkreps Apr 18, 2014
69fbdf9
KAFKA-1327 Add log cleaner metrics.
jkreps Apr 17, 2014
1e9e107
KAFKA-1356; follow-up - return unknown topic partition on non-existent
jjkoshy Apr 21, 2014
874620d
KAFKA-1327; Log cleaner metrics follow-up patch to reset dirtiest log
jjkoshy Apr 21, 2014
150d0a7
bump kafka version to 0.8.1.1 in gradle.properties patch by Joe Stein…
joestein Apr 22, 2014
7847e9c
KAFKA-1308; Publish jar of test utilities to Maven. Jun Rao and Jakob…
jghoman Jun 24, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -200,34 +200,3 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

-----------------------------------------------------------------------

SBT LICENSE

Copyright (c) 2008, 2009, 2010 Mark Harrah, Jason Zaugg
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-----------------------------------------------------------------------
60 changes: 0 additions & 60 deletions README-sbt.md

This file was deleted.

123 changes: 65 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,81 +1,88 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Apache Kafka #
Apache Kafka
=================
See our [web site](http://kafka.apache.org) for details on the project.

## Building a jar and running it ##
1. ./gradlew copyDependantLibs
2. ./gradlew jar
3. Follow instuctions in http://kafka.apache.org/documentation.html#quickstart
### Building a jar and running it ###
./gradlew jar

## Running unit tests ##
./gradlew test
Follow instuctions in http://kafka.apache.org/documentation.html#quickstart

## Forcing re-running unit tests w/o code change ##
./gradlew cleanTest test
### Building source jar ###
./gradlew srcJar

## Running a particular unit test ##
./gradlew -Dtest.single=RequestResponseSerializationTest core:test
### Building javadocs and scaladocs ###
./gradlew javadoc
./gradlew javadocJar # builds a jar from the javadocs
./gradlew scaladoc
./gradlew scaladocJar # builds a jar from the scaladocs
./gradlew docsJar # builds both javadoc and scaladoc jar

### Running unit tests ###
./gradlew test

### Forcing re-running unit tests w/o code change ###
./gradlew cleanTest test

### Running a particular unit test ###
./gradlew -Dtest.single=RequestResponseSerializationTest core:test

### Building a binary release gzipped tar ball ###
./gradlew clean
./gradlew releaseTarGz

## Building a binary release gzipped tar ball ##
./gradlew clean
./gradlew releaseTarGz
The release file can be found inside ./core/build/distributions/.

## Cleaning the build ##
./gradlew clean
### Cleaning the build ###
./gradlew clean

### Running a task on a particular version of Scala ####
either 2.8.0, 2.8.2, 2.9.1, 2.9.2 or 2.10.1) (If building a jar with a version other than 2.8.0, the scala version variable in bin/kafka-run-class.sh needs to be changed to run quick start.)
./gradlew -PscalaVersion=2.9.1 jar
./gradlew -PscalaVersion=2.9.1 test
./gradlew -PscalaVersion=2.9.1 releaseTarGz

### Running a task for a specific project ###
This is for 'core', 'perf', 'contrib:hadoop-consumer', 'contrib:hadoop-producer', 'examples' and 'clients'
./gradlew core:jar
./gradlew core:test

## Running a task on a particular version of Scala (either 2.8.0, 2.8.2, 2.9.1, 2.9.2 or 2.10.1) ##
## (If building a jar with a version other than 2.8.0, the scala version variable in bin/kafka-run-class.sh needs to be changed to run quick start.) ##
./gradlew -PscalaVersion=2.9.1 jar
./gradlew -PscalaVersion=2.9.1 test
./gradlew -PscalaVersion=2.9.1 releaseTarGz
### Listing all gradle tasks ###
./gradlew tasks

## Running a task for a specific project in 'core', 'perf', 'contrib:hadoop-consumer', 'contrib:hadoop-producer', 'examples', 'clients' ##
./gradlew core:jar
./gradlew core:test
### Building IDE project ####
./gradlew eclipse
./gradlew idea

## Listing all gradle tasks ##
./gradlew tasks
### Building the jar for all scala versions and for all projects ###
./gradlew jarAll

# Building IDE project ##
./gradlew eclipse
./gradlew idea
### Running unit tests for all scala versions and for all projects ###
./gradlew testAll

# Building the jar for all scala versions and for all projects ##
./gradlew jarAll
### Building a binary release gzipped tar ball for all scala versions ###
./gradlew releaseTarGzAll

## Running unit tests for all scala versions and for all projects ##
./gradlew testAll
### Publishing the jar for all version of Scala and for all projects to maven ###
./gradlew uploadArchivesAll

## Building a binary release gzipped tar ball for all scala versions ##
./gradlew releaseTarGzAll
Please note for this to work you should create/update `~/.gradle/gradle.properties` and assign the following variables

## Publishing the jar for all version of Scala and for all projects to maven (To test locally, change mavenUrl in gradle.properties to a local dir.) ##
./gradlew uploadArchivesAll
mavenUrl=
mavenUsername=
mavenPassword=
signing.keyId=
signing.password=
signing.secretKeyRingFile=

## Building the test jar ##
./gradlew testJar
### Building the test jar ###
./gradlew testJar

## Determining how transitive dependencies are added ##
./gradlew core:dependencies --configuration runtime
### Determining how transitive dependencies are added ###
./gradlew core:dependencies --configuration runtime

## Contribution ##
### Contribution ###

Kafka is a new project, and we are interested in building the community; we would welcome any thoughts or [patches](https://issues.apache.org/jira/browse/KAFKA). You can reach us [on the Apache mailing lists](http://kafka.apache.org/contact.html).
Apache Kafka interested in building the community; we would welcome any thoughts or [patches](https://issues.apache.org/jira/browse/KAFKA). You can reach us [on the Apache mailing lists](http://kafka.apache.org/contact.html).

To contribute follow the instructions here:
* http://kafka.apache.org/contributing.html
Expand Down
7 changes: 0 additions & 7 deletions bin/kafka-run-class.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ if [ -z "$SCALA_VERSION" ]; then
SCALA_VERSION=2.8.0
fi

# TODO: remove when removing sbt
# assume all dependencies have been packaged into one jar with sbt-assembly's task "assembly-package-dependency"
for file in $base_dir/core/target/scala-${SCALA_VERSION}/*.jar;
do
CLASSPATH=$CLASSPATH:$file
done

# run ./gradlew copyDependantLibs to get all dependant jars in a local dir
for file in $base_dir/core/build/dependant-libs-${SCALA_VERSION}/*.jar;
do
Expand Down
35 changes: 0 additions & 35 deletions bin/run-rat.sh

This file was deleted.

Loading