Review Board 1.7.22


Patch for KAFKA-954

Review Request #14538 - Created Oct. 8, 2013 and updated

Jun Rao
KAFKA-954
Reviewers
kafka
kafka
kafka-954

 

Diff revision 1 (Latest)

  1. README.md: Loading...
README.md
Revision 9879427d4103354c7c3872c0b6caf454c1204a76 New Change
1
# Apache Kafka #
1
# Apache Kafka #
2

    
   
2

   
3
See our [web site](http://kafka.apache.org) details on the project.
3
See our [web site](http://kafka.apache.org) for details on the project.
4

    
   
4

   
5
## Building It ##
5
## Building it ##

    
   
6
1. ./sbt update

    
   
7
2. ./sbt package

    
   
8
3. ./sbt assembly-package-dependency
6

    
   
9

   
7
To build for all supported versions of Scala: 
10
To build for a particular version of Scala (either 2.8.0, 2.8.2, 2.9.1, 2.9.2 or 2.10.1), change step 2 above to: 
8
1. ./sbt +package
11
2. ./sbt "++2.8.0 package"
9

    
   
12

   
10
To build for a particular version of Scala (either 2.8.0, 2.8.2, 2.9.1 or 2.9.2): 
13
To build for all supported versions of Scala, change step 2 above to: 

    
   
14
2. ./sbt +package
11

    
   
15

   
12
1. ./sbt "++2.8.0 package" *or* ./sbt "++2.8.2 package" *or* ./sbt "++2.9.1 package" *or* ./sbt "++2.9.2 package"
16
## Running it ##

    
   
17
Follow instuctions in http://kafka.apache.org/documentation.html#quickstart
13

    
   
18

   
14
## Running It ##
19
## Running unit tests ##

    
   
20
  ./sbt test
15

    
   
21

   
16
To run follow the instructions here:
22
## Building a binary release zip or gzipped tar ball ##
17
1. http://kafka.apache.org/08/quickstart.html
23
  ./sbt release-zip

    
   
24
  ./sbt release-tar 

    
   
25
The release file can be found inside ./target/RELEASE/.
18

    
   
26

   
19
## Other Build Tips ##
27
## Other Build Tips ##
20

    
   

   
21
Here are some useful sbt commands, to be executed at the sbt command prompt (./sbt). Prefixing with "++<version> " runs the
28
Here are some useful sbt commands, to be executed at the sbt command prompt (./sbt). Prefixing with "++<version> " runs the
22
command for a specific Scala version, prefixing with "+" will perform the action for all versions of Scala, and no prefix
29
command for a specific Scala version, prefixing with "+" will perform the action for all versions of Scala, and no prefix
23
runs the command for the default (2.8.0) version of Scala. -
30
runs the command for the default (2.8.0) version of Scala. -
24

    
   
31

   
25
tasks : Lists all the sbt commands and their descriptions
32
tasks : Lists all the sbt commands and their descriptions
26
clean : Deletes all generated files (the target directory).
33
clean : Deletes all generated files (the target directory).
27
compile : Compile all the sub projects, but not create the jars
34
compile : Compile all the sub projects, but not create the jars
28
test : Run all unit tests in all sub projects
35
test : Run all unit tests in all sub projects
29
release-zip : Create all the jars, run unit tests and create a deployable release zip
36
release-zip : Create all the jars, run unit tests and create a deployable release zip

    
   
37
release-tar : Create all the jars, run unit tests and create a deployable release gzipped tar tall
30
package: Creates jars for src, test, docs etc
38
package: Creates jars for src, test, docs etc
31
projects : List all the sub projects 
39
projects : List all the sub projects 
32
project sub_project_name : Switch to a particular sub-project. For example, to switch to the core kafka code, use "project core-kafka"
40
project sub_project_name : Switch to a particular sub-project. For example, to switch to the core kafka code, use "project core-kafka"
33

    
   
41

   
34
The following commands can be run only on a particular sub project -
42
The following commands can be run only on a particular sub project -
[+20] [20] 18 lines
  1. README.md: Loading...