You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jk...@apache.org on 2011/08/02 01:42:17 UTC

svn commit: r1152970 [1/26] - in /incubator/kafka: branches/ site/ trunk/ trunk/bin/ trunk/clients/ trunk/clients/clojure/ trunk/clients/clojure/leiningen/ trunk/clients/clojure/resources/ trunk/clients/clojure/src/ trunk/clients/clojure/src/kafka/ tru...

Author: jkreps
Date: Mon Aug  1 23:41:24 2011
New Revision: 1152970

URL: http://svn.apache.org/viewvc?rev=1152970&view=rev
Log:
Initial checkin of Kafka to Apache SVN. This corresponds to https://github.com/kafka-dev/kafka/commit/709afe4ec75489bc00a44335de8821fa726bb97e except that git specific files have been removed and code has been put into trunk/branches/site/etc. This is just a copy of master, branches and history are not being converted since we can't find a good tool for it.


Added:
    incubator/kafka/branches/
    incubator/kafka/site/
    incubator/kafka/trunk/
    incubator/kafka/trunk/CONTRIBUTORS
    incubator/kafka/trunk/LICENSE
    incubator/kafka/trunk/NOTICE
    incubator/kafka/trunk/README.md
    incubator/kafka/trunk/bin/
    incubator/kafka/trunk/bin/kafka-console-consumer-log4j.properties
    incubator/kafka/trunk/bin/kafka-console-consumer.sh   (with props)
    incubator/kafka/trunk/bin/kafka-consumer-perf-test.sh   (with props)
    incubator/kafka/trunk/bin/kafka-consumer-shell.sh   (with props)
    incubator/kafka/trunk/bin/kafka-producer-perf-test.sh   (with props)
    incubator/kafka/trunk/bin/kafka-producer-shell.sh   (with props)
    incubator/kafka/trunk/bin/kafka-replay-log-producer.sh   (with props)
    incubator/kafka/trunk/bin/kafka-run-class.sh   (with props)
    incubator/kafka/trunk/bin/kafka-server-start.sh   (with props)
    incubator/kafka/trunk/bin/kafka-server-stop.sh   (with props)
    incubator/kafka/trunk/bin/kafka-simple-consumer-perf-test.sh   (with props)
    incubator/kafka/trunk/bin/kafka-simple-consumer-shell.sh   (with props)
    incubator/kafka/trunk/bin/zookeeper-server-start.sh   (with props)
    incubator/kafka/trunk/bin/zookeeper-server-stop.sh   (with props)
    incubator/kafka/trunk/clients/
    incubator/kafka/trunk/clients/clojure/
    incubator/kafka/trunk/clients/clojure/.gitignore
    incubator/kafka/trunk/clients/clojure/LICENSE
    incubator/kafka/trunk/clients/clojure/README.md
    incubator/kafka/trunk/clients/clojure/leiningen/
    incubator/kafka/trunk/clients/clojure/leiningen/run_example.clj
    incubator/kafka/trunk/clients/clojure/project.clj
    incubator/kafka/trunk/clients/clojure/resources/
    incubator/kafka/trunk/clients/clojure/resources/log4j.properties
    incubator/kafka/trunk/clients/clojure/src/
    incubator/kafka/trunk/clients/clojure/src/kafka/
    incubator/kafka/trunk/clients/clojure/src/kafka/buffer.clj
    incubator/kafka/trunk/clients/clojure/src/kafka/example.clj
    incubator/kafka/trunk/clients/clojure/src/kafka/kafka.clj
    incubator/kafka/trunk/clients/clojure/src/kafka/print.clj
    incubator/kafka/trunk/clients/clojure/src/kafka/serializable.clj
    incubator/kafka/trunk/clients/clojure/src/kafka/types.clj
    incubator/kafka/trunk/clients/clojure/test/
    incubator/kafka/trunk/clients/clojure/test/kafka/
    incubator/kafka/trunk/clients/clojure/test/kafka/buffer_test.clj
    incubator/kafka/trunk/clients/clojure/test/kafka/print_test.clj
    incubator/kafka/trunk/clients/clojure/test/kafka/serializable_test.clj
    incubator/kafka/trunk/clients/cpp/
    incubator/kafka/trunk/clients/cpp/LICENSE
    incubator/kafka/trunk/clients/cpp/Makefile.am
    incubator/kafka/trunk/clients/cpp/Makefile.in
    incubator/kafka/trunk/clients/cpp/README.md
    incubator/kafka/trunk/clients/cpp/aclocal.m4
    incubator/kafka/trunk/clients/cpp/build-aux/
    incubator/kafka/trunk/clients/cpp/build-aux/config.guess   (with props)
    incubator/kafka/trunk/clients/cpp/build-aux/config.sub   (with props)
    incubator/kafka/trunk/clients/cpp/build-aux/depcomp   (with props)
    incubator/kafka/trunk/clients/cpp/build-aux/install-sh   (with props)
    incubator/kafka/trunk/clients/cpp/build-aux/ltmain.sh   (with props)
    incubator/kafka/trunk/clients/cpp/build-aux/m4/
    incubator/kafka/trunk/clients/cpp/build-aux/m4/libtool.m4
    incubator/kafka/trunk/clients/cpp/build-aux/m4/ltoptions.m4
    incubator/kafka/trunk/clients/cpp/build-aux/m4/ltsugar.m4
    incubator/kafka/trunk/clients/cpp/build-aux/m4/ltversion.m4
    incubator/kafka/trunk/clients/cpp/build-aux/m4/lt~obsolete.m4
    incubator/kafka/trunk/clients/cpp/build-aux/missing   (with props)
    incubator/kafka/trunk/clients/cpp/configure   (with props)
    incubator/kafka/trunk/clients/cpp/configure.ac
    incubator/kafka/trunk/clients/cpp/src/
    incubator/kafka/trunk/clients/cpp/src/encoder.hpp
    incubator/kafka/trunk/clients/cpp/src/encoder_helper.hpp
    incubator/kafka/trunk/clients/cpp/src/example.cpp
    incubator/kafka/trunk/clients/cpp/src/producer.cpp
    incubator/kafka/trunk/clients/cpp/src/producer.hpp
    incubator/kafka/trunk/clients/cpp/src/tests/
    incubator/kafka/trunk/clients/cpp/src/tests/encoder_helper_tests.cpp
    incubator/kafka/trunk/clients/cpp/src/tests/encoder_tests.cpp
    incubator/kafka/trunk/clients/cpp/src/tests/producer_tests.cpp
    incubator/kafka/trunk/clients/csharp/
    incubator/kafka/trunk/clients/csharp/.gitignore
    incubator/kafka/trunk/clients/csharp/LICENSE
    incubator/kafka/trunk/clients/csharp/README.md
    incubator/kafka/trunk/clients/csharp/Settings.StyleCop
    incubator/kafka/trunk/clients/csharp/lib/
    incubator/kafka/trunk/clients/csharp/lib/nunit/
    incubator/kafka/trunk/clients/csharp/lib/nunit/2.5.9/
    incubator/kafka/trunk/clients/csharp/lib/nunit/2.5.9/nunit.framework.dll   (with props)
    incubator/kafka/trunk/clients/csharp/src/
    incubator/kafka/trunk/clients/csharp/src/Kafka/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/AbstractRequest.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Consumer.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Kafka.Client.csproj
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/KafkaConnection.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/KafkaException.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Message.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Producer.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Properties/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Properties/AssemblyInfo.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Request/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Request/FetchRequest.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Request/MultiFetchRequest.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Request/MultiProducerRequest.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Request/OffsetRequest.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Request/ProducerRequest.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/RequestContext.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/RequestType.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Util/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Util/BitWorks.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.Client/Util/Crc32.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Kafka.sln
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Kafka.Client.IntegrationTests.csproj
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/KafkaIntegrationTest.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Properties/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.IntegrationTests/Properties/AssemblyInfo.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Kafka.Client.Tests.csproj
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/MessageTests.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Properties/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Properties/AssemblyInfo.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/FetchRequestTests.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiFetchRequestTests.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/MultiProducerRequestTests.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/OffsetRequestTests.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/ProducerRequestTests.cs
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Util/
    incubator/kafka/trunk/clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Util/BitWorksTests.cs
    incubator/kafka/trunk/clients/go/
    incubator/kafka/trunk/clients/go/.gitignore
    incubator/kafka/trunk/clients/go/LICENSE
    incubator/kafka/trunk/clients/go/Makefile
    incubator/kafka/trunk/clients/go/README.md
    incubator/kafka/trunk/clients/go/kafka_test.go
    incubator/kafka/trunk/clients/go/src/
    incubator/kafka/trunk/clients/go/src/consumer.go
    incubator/kafka/trunk/clients/go/src/converts.go
    incubator/kafka/trunk/clients/go/src/kafka.go
    incubator/kafka/trunk/clients/go/src/message.go
    incubator/kafka/trunk/clients/go/src/publisher.go
    incubator/kafka/trunk/clients/go/src/request.go
    incubator/kafka/trunk/clients/go/src/timing.go
    incubator/kafka/trunk/clients/go/tools/
    incubator/kafka/trunk/clients/go/tools/consumer/
    incubator/kafka/trunk/clients/go/tools/consumer/Makefile
    incubator/kafka/trunk/clients/go/tools/consumer/consumer.go
    incubator/kafka/trunk/clients/go/tools/offsets/
    incubator/kafka/trunk/clients/go/tools/offsets/Makefile
    incubator/kafka/trunk/clients/go/tools/offsets/offsets.go
    incubator/kafka/trunk/clients/go/tools/publisher/
    incubator/kafka/trunk/clients/go/tools/publisher/Makefile
    incubator/kafka/trunk/clients/go/tools/publisher/publisher.go
    incubator/kafka/trunk/clients/php/
    incubator/kafka/trunk/clients/php/LICENSE
    incubator/kafka/trunk/clients/php/README.md
    incubator/kafka/trunk/clients/php/src/
    incubator/kafka/trunk/clients/php/src/examples/
    incubator/kafka/trunk/clients/php/src/examples/autoloader.php
    incubator/kafka/trunk/clients/php/src/examples/consume.php
    incubator/kafka/trunk/clients/php/src/examples/produce.php
    incubator/kafka/trunk/clients/php/src/lib/
    incubator/kafka/trunk/clients/php/src/lib/Kafka/
    incubator/kafka/trunk/clients/php/src/lib/Kafka/BoundedByteBuffer/
    incubator/kafka/trunk/clients/php/src/lib/Kafka/BoundedByteBuffer/Receive.php
    incubator/kafka/trunk/clients/php/src/lib/Kafka/BoundedByteBuffer/Send.php
    incubator/kafka/trunk/clients/php/src/lib/Kafka/Encoder.php
    incubator/kafka/trunk/clients/php/src/lib/Kafka/FetchRequest.php
    incubator/kafka/trunk/clients/php/src/lib/Kafka/Message.php
    incubator/kafka/trunk/clients/php/src/lib/Kafka/MessageSet.php
    incubator/kafka/trunk/clients/php/src/lib/Kafka/Producer.php
    incubator/kafka/trunk/clients/php/src/lib/Kafka/Request.php
    incubator/kafka/trunk/clients/php/src/lib/Kafka/RequestKeys.php
    incubator/kafka/trunk/clients/php/src/lib/Kafka/SimpleConsumer.php
    incubator/kafka/trunk/clients/php/src/tests/
    incubator/kafka/trunk/clients/php/src/tests/Kafka/
    incubator/kafka/trunk/clients/php/src/tests/Kafka/BoundedByteBuffer/
    incubator/kafka/trunk/clients/php/src/tests/Kafka/BoundedByteBuffer/ReceiveTest.php
    incubator/kafka/trunk/clients/php/src/tests/Kafka/BoundedByteBuffer/SendTest.php
    incubator/kafka/trunk/clients/php/src/tests/Kafka/EncoderTest.php
    incubator/kafka/trunk/clients/php/src/tests/Kafka/FetchRequestTest.php
    incubator/kafka/trunk/clients/php/src/tests/Kafka/MessageTest.php
    incubator/kafka/trunk/clients/php/src/tests/Kafka/ProducerTest.php
    incubator/kafka/trunk/clients/php/src/tests/bootstrap.php
    incubator/kafka/trunk/clients/php/src/tests/phpunit.xml
    incubator/kafka/trunk/clients/python/
    incubator/kafka/trunk/clients/python/kafka.py
    incubator/kafka/trunk/clients/python/setup.py
    incubator/kafka/trunk/clients/ruby/
    incubator/kafka/trunk/clients/ruby/LICENSE
    incubator/kafka/trunk/clients/ruby/README.md
    incubator/kafka/trunk/clients/ruby/Rakefile
    incubator/kafka/trunk/clients/ruby/TODO
    incubator/kafka/trunk/clients/ruby/kafka-rb.gemspec
    incubator/kafka/trunk/clients/ruby/lib/
    incubator/kafka/trunk/clients/ruby/lib/kafka/
    incubator/kafka/trunk/clients/ruby/lib/kafka.rb
    incubator/kafka/trunk/clients/ruby/lib/kafka/batch.rb
    incubator/kafka/trunk/clients/ruby/lib/kafka/consumer.rb
    incubator/kafka/trunk/clients/ruby/lib/kafka/error_codes.rb
    incubator/kafka/trunk/clients/ruby/lib/kafka/io.rb
    incubator/kafka/trunk/clients/ruby/lib/kafka/message.rb
    incubator/kafka/trunk/clients/ruby/lib/kafka/producer.rb
    incubator/kafka/trunk/clients/ruby/lib/kafka/request_type.rb
    incubator/kafka/trunk/clients/ruby/spec/
    incubator/kafka/trunk/clients/ruby/spec/batch_spec.rb
    incubator/kafka/trunk/clients/ruby/spec/consumer_spec.rb
    incubator/kafka/trunk/clients/ruby/spec/io_spec.rb
    incubator/kafka/trunk/clients/ruby/spec/kafka_spec.rb
    incubator/kafka/trunk/clients/ruby/spec/message_spec.rb
    incubator/kafka/trunk/clients/ruby/spec/producer_spec.rb
    incubator/kafka/trunk/clients/ruby/spec/spec_helper.rb
    incubator/kafka/trunk/config/
    incubator/kafka/trunk/config/consumer.properties
    incubator/kafka/trunk/config/log4j.properties
    incubator/kafka/trunk/config/server.properties
    incubator/kafka/trunk/config/zookeeper.properties
    incubator/kafka/trunk/contrib/
    incubator/kafka/trunk/contrib/hadoop-consumer/
    incubator/kafka/trunk/contrib/hadoop-consumer/README
    incubator/kafka/trunk/contrib/hadoop-consumer/copy-jars.sh   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/hadoop-setup.sh   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/lib/
    incubator/kafka/trunk/contrib/hadoop-consumer/lib/avro-1.4.0.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/lib/commons-logging-1.0.4.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/lib/hadoop-0.20.2-core.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/lib/jackson-core-asl-1.5.5.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/lib/jackson-mapper-asl-1.5.5.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/lib/pig-0.8.0-core.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/lib/piggybank.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/run-class.sh   (with props)
    incubator/kafka/trunk/contrib/hadoop-consumer/src/
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/KafkaETLContext.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/KafkaETLInputFormat.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/KafkaETLJob.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/KafkaETLKey.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/KafkaETLRecordReader.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/KafkaETLRequest.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/KafkaETLUtils.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/Props.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/UndefinedPropertyException.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/impl/
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/impl/DataGenerator.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/impl/SimpleKafkaETLJob.java
    incubator/kafka/trunk/contrib/hadoop-consumer/src/main/java/kafka/etl/impl/SimpleKafkaETLMapper.java
    incubator/kafka/trunk/contrib/hadoop-consumer/test/
    incubator/kafka/trunk/contrib/hadoop-consumer/test/test.properties
    incubator/kafka/trunk/contrib/hadoop-producer/
    incubator/kafka/trunk/contrib/hadoop-producer/README.md
    incubator/kafka/trunk/contrib/hadoop-producer/lib/
    incubator/kafka/trunk/contrib/hadoop-producer/lib/avro-1.4.0.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-producer/lib/commons-logging-1.0.4.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-producer/lib/hadoop-0.20.2-core.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-producer/lib/jackson-core-asl-1.5.5.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-producer/lib/jackson-mapper-asl-1.5.5.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-producer/lib/pig-0.8.0-core.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-producer/lib/piggybank.jar   (with props)
    incubator/kafka/trunk/contrib/hadoop-producer/src/
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/kafka/
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/kafka/bridge/
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/kafka/bridge/examples/
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/kafka/bridge/examples/TextPublisher.java
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/kafka/bridge/hadoop/
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/kafka/bridge/hadoop/KafkaOutputFormat.java
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/kafka/bridge/hadoop/KafkaRecordWriter.java
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/kafka/bridge/pig/
    incubator/kafka/trunk/contrib/hadoop-producer/src/main/java/kafka/bridge/pig/AvroKafkaStorage.java
    incubator/kafka/trunk/core/
    incubator/kafka/trunk/core/lib/
    incubator/kafka/trunk/core/lib/zkclient-0.1.0.jar   (with props)
    incubator/kafka/trunk/core/lib/zookeeper-3.3.3.jar   (with props)
    incubator/kafka/trunk/core/src/
    incubator/kafka/trunk/core/src/main/
    incubator/kafka/trunk/core/src/main/scala/
    incubator/kafka/trunk/core/src/main/scala/kafka/
    incubator/kafka/trunk/core/src/main/scala/kafka/Kafka.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/api/
    incubator/kafka/trunk/core/src/main/scala/kafka/api/FetchRequest.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/api/MultiFetchRequest.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/api/MultiFetchResponse.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/api/MultiProducerRequest.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/api/OffsetRequest.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/api/ProducerRequest.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/api/RequestKeys.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/cluster/
    incubator/kafka/trunk/core/src/main/scala/kafka/cluster/Broker.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/cluster/Cluster.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/cluster/Partition.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/
    incubator/kafka/trunk/core/src/main/scala/kafka/common/ErrorMapping.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/InvalidConfigException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/InvalidMessageSizeException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/InvalidPartitionException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/NoBrokersForPartitionException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/OffsetOutOfRangeException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/UnavailableProducerException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/UnknownCodecException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/UnknownException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/common/UnknownMagicByteException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/ConsoleConsumer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/ConsumerConfig.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/ConsumerConnector.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/ConsumerIterator.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/FetchedDataChunk.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/Fetcher.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/FetcherRunnable.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/KafkaMessageStream.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/PartitionTopicInfo.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/SimpleConsumer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/TopicCount.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/ZookeeperConsumerConnector.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/package.html
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/storage/
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/storage/MemoryOffsetStorage.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/storage/OffsetStorage.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/consumer/storage/OracleOffsetStorage.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/Implicits.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/MultiFetchResponse.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/ProducerRequest.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/consumer/
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/consumer/ConsumerConnector.java
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/consumer/SimpleConsumer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/consumer/ZookeeperConsumerConnector.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/message/
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/message/ByteBufferMessageSet.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/message/MessageSet.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/producer/
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/producer/Producer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/producer/ProducerData.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/producer/SyncProducer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/producer/async/
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/producer/async/CallbackHandler.java
    incubator/kafka/trunk/core/src/main/scala/kafka/javaapi/producer/async/EventHandler.java
    incubator/kafka/trunk/core/src/main/scala/kafka/log/
    incubator/kafka/trunk/core/src/main/scala/kafka/log/Log.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/log/LogManager.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/log/LogStats.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/log/SegmentList.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/log/package.html
    incubator/kafka/trunk/core/src/main/scala/kafka/message/
    incubator/kafka/trunk/core/src/main/scala/kafka/message/ByteBufferBackedInputStream.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/ByteBufferMessageSet.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/CompressionCodec.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/CompressionUtils.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/FileMessageSet.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/InvalidMessageException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/Message.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/MessageAndOffset.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/MessageLengthException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/MessageSet.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/message/package.html
    incubator/kafka/trunk/core/src/main/scala/kafka/network/
    incubator/kafka/trunk/core/src/main/scala/kafka/network/BoundedByteBufferReceive.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/BoundedByteBufferSend.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/ByteBufferSend.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/ConnectionConfig.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/Handler.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/InvalidRequestException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/Request.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/SocketServer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/SocketServerStats.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/Transmission.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/network/package.html
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/BrokerPartitionInfo.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/ConfigBrokerPartitionInfo.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/DefaultPartitioner.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/KafkaLog4jAppender.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/Partitioner.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/Producer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/ProducerConfig.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/ProducerData.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/ProducerPool.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/SyncProducer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/SyncProducerConfig.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/ZKBrokerPartitionInfo.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/AsyncProducer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/AsyncProducerConfig.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/AsyncProducerStats.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/AsyncProducerStatsMBean.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/CallbackHandler.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/DefaultEventHandler.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/EventHandler.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/MissingConfigException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/ProducerSendThread.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/QueueClosedException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/producer/async/QueueFullException.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/serializer/
    incubator/kafka/trunk/core/src/main/scala/kafka/serializer/Decoder.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/serializer/Encoder.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/server/
    incubator/kafka/trunk/core/src/main/scala/kafka/server/KafkaConfig.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/server/KafkaRequestHandlers.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/server/KafkaServer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/server/KafkaServerStartable.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/server/KafkaZooKeeper.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/server/MessageSetSend.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/server/MultiMessageSetSend.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/server/package.html
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/ConsumerPerformance.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/ConsumerShell.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/GetOffsetShell.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/ProducerPerformance.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/ProducerShell.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/ReplayLogProducer.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/SimpleConsumerPerformance.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/SimpleConsumerShell.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/Annotations.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/DelayedItem.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/DumpLogSegments.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/IteratorTemplate.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/KafkaScheduler.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/MockTime.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/Pool.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/Range.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/Throttler.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/Time.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/UpdateOffsetsInZK.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/Utils.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/ZkUtils.scala
    incubator/kafka/trunk/core/src/main/scala/kafka/utils/package.html
    incubator/kafka/trunk/core/src/test/
    incubator/kafka/trunk/core/src/test/resources/
    incubator/kafka/trunk/core/src/test/resources/log4j.properties
    incubator/kafka/trunk/core/src/test/resources/test-kafka-logs/
    incubator/kafka/trunk/core/src/test/resources/test-kafka-logs/MagicByte0-0/
    incubator/kafka/trunk/core/src/test/resources/test-kafka-logs/MagicByte0-0/00000000000000000000.kafka   (with props)
    incubator/kafka/trunk/core/src/test/scala/
    incubator/kafka/trunk/core/src/test/scala/other/
    incubator/kafka/trunk/core/src/test/scala/other/kafka/
    incubator/kafka/trunk/core/src/test/scala/other/kafka.log4j.properties
    incubator/kafka/trunk/core/src/test/scala/other/kafka/DeleteZKPath.scala
    incubator/kafka/trunk/core/src/test/scala/other/kafka/TestKafkaAppender.scala
    incubator/kafka/trunk/core/src/test/scala/other/kafka/TestLinearWriteSpeed.scala
    incubator/kafka/trunk/core/src/test/scala/other/kafka/TestLogPerformance.scala
    incubator/kafka/trunk/core/src/test/scala/other/kafka/TestTruncate.scala
    incubator/kafka/trunk/core/src/test/scala/other/kafka/TestZKConsumerOffsets.scala
    incubator/kafka/trunk/core/src/test/scala/unit/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/consumer/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/consumer/TopicCountTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/consumer/ZookeeperConsumerConnectorTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/integration/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/integration/AutoOffsetResetTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/integration/BackwardsCompatibilityTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/integration/FetcherTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/integration/KafkaServerTestHarness.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/integration/LazyInitProducerTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/integration/LogCorruptionTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/integration/PrimitiveApiTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/integration/ProducerConsumerTestHarness.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/consumer/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/consumer/ZookeeperConsumerConnectorTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/integration/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/integration/PrimitiveApiTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/integration/ProducerConsumerTestHarness.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/message/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/message/BaseMessageSetTestCases.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/message/ByteBufferMessageSetTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/producer/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/producer/ProducerTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/javaapi/producer/SyncProducerTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/log/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/log/LogManagerTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/log/LogOffsetTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/log/LogTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/log/SegmentListTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/log4j/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/log4j/KafkaLog4jAppenderTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/message/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/message/BaseMessageSetTestCases.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/message/ByteBufferMessageSetTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/message/CompressionUtilsTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/message/FileMessageSetTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/message/MessageTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/AsyncProducerTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/ProducerMethodsTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/ProducerTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/producer/SyncProducerTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/server/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/server/ServerShutdownTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/utils/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/utils/TestUtils.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/utils/UtilsTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/zk/
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/zk/EmbeddedZookeeper.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/zk/ZKEphemeralTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/zk/ZKLoadBalanceTest.scala
    incubator/kafka/trunk/core/src/test/scala/unit/kafka/zk/ZooKeeperTestHarness.scala
    incubator/kafka/trunk/examples/
    incubator/kafka/trunk/examples/README
    incubator/kafka/trunk/examples/bin/
    incubator/kafka/trunk/examples/bin/java-producer-consumer-demo.sh   (with props)
    incubator/kafka/trunk/examples/bin/java-simple-consumer-demo.sh   (with props)
    incubator/kafka/trunk/examples/src/
    incubator/kafka/trunk/examples/src/main/
    incubator/kafka/trunk/examples/src/main/java/
    incubator/kafka/trunk/examples/src/main/java/kafka/
    incubator/kafka/trunk/examples/src/main/java/kafka/examples/
    incubator/kafka/trunk/examples/src/main/java/kafka/examples/Consumer.java
    incubator/kafka/trunk/examples/src/main/java/kafka/examples/ExampleUtils.java
    incubator/kafka/trunk/examples/src/main/java/kafka/examples/KafkaConsumerProducerDemo.java
    incubator/kafka/trunk/examples/src/main/java/kafka/examples/KafkaProperties.java
    incubator/kafka/trunk/examples/src/main/java/kafka/examples/Producer.java
    incubator/kafka/trunk/examples/src/main/java/kafka/examples/SimpleConsumerDemo.java
    incubator/kafka/trunk/lib/
    incubator/kafka/trunk/lib/sbt-launch.jar   (with props)
    incubator/kafka/trunk/perf/
    incubator/kafka/trunk/perf/.classpath
    incubator/kafka/trunk/perf/.project
    incubator/kafka/trunk/perf/README.md
    incubator/kafka/trunk/perf/lib/
    incubator/kafka/trunk/perf/lib/jopt-simple-3.1.jar   (with props)
    incubator/kafka/trunk/perf/report-html/
    incubator/kafka/trunk/perf/report-html/js/
    incubator/kafka/trunk/perf/report-html/js/exporting.js   (with props)
    incubator/kafka/trunk/perf/report-html/js/highcharts.js   (with props)
    incubator/kafka/trunk/perf/report-html/js/kafka.js
    incubator/kafka/trunk/perf/report-html/report.html
    incubator/kafka/trunk/perf/run-simulator.sh   (with props)
    incubator/kafka/trunk/perf/src/
    incubator/kafka/trunk/perf/src/main/
    incubator/kafka/trunk/perf/src/main/java/
    incubator/kafka/trunk/perf/src/main/java/kafka/
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/KafkaPerfSimulator.java
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/KafkaSimulatorMXBean.java
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/PerfTimer.java
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/consumer/
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/consumer/SimplePerfConsumer.java
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/jmx/
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/jmx/BrokerJmxClient.java
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/producer/
    incubator/kafka/trunk/perf/src/main/java/kafka/perf/producer/Producer.java
    incubator/kafka/trunk/perf/util-bin/
    incubator/kafka/trunk/perf/util-bin/remote-kafka-env.sh
    incubator/kafka/trunk/perf/util-bin/run-fetchsize-test.sh   (with props)
    incubator/kafka/trunk/perf/util-bin/run-msgsize-test.sh   (with props)
    incubator/kafka/trunk/perf/util-bin/run-numconsumer-sustained.sh   (with props)
    incubator/kafka/trunk/perf/util-bin/run-numconsumer-test.sh   (with props)
    incubator/kafka/trunk/perf/util-bin/run-numproducer-single-topic.sh   (with props)
    incubator/kafka/trunk/perf/util-bin/run-numproducer-test.sh   (with props)
    incubator/kafka/trunk/perf/util-bin/run-numtopic-test.sh   (with props)
    incubator/kafka/trunk/project/
    incubator/kafka/trunk/project/build/
    incubator/kafka/trunk/project/build.properties
    incubator/kafka/trunk/project/build/KafkaProject.scala
    incubator/kafka/trunk/project/plugins/
    incubator/kafka/trunk/project/plugins/Plugins.scala
    incubator/kafka/trunk/sbt   (with props)
    incubator/kafka/trunk/system_test/
    incubator/kafka/trunk/system_test/embedded_consumer/
    incubator/kafka/trunk/system_test/embedded_consumer/README
    incubator/kafka/trunk/system_test/embedded_consumer/bin/
    incubator/kafka/trunk/system_test/embedded_consumer/bin/expected.out
    incubator/kafka/trunk/system_test/embedded_consumer/bin/run-test.sh   (with props)
    incubator/kafka/trunk/system_test/embedded_consumer/config/
    incubator/kafka/trunk/system_test/embedded_consumer/config/consumer.properties
    incubator/kafka/trunk/system_test/embedded_consumer/config/server_source1.properties
    incubator/kafka/trunk/system_test/embedded_consumer/config/server_source2.properties
    incubator/kafka/trunk/system_test/embedded_consumer/config/server_source3.properties
    incubator/kafka/trunk/system_test/embedded_consumer/config/server_target1.properties
    incubator/kafka/trunk/system_test/embedded_consumer/config/server_target2.properties
    incubator/kafka/trunk/system_test/embedded_consumer/config/zookeeper_source.properties
    incubator/kafka/trunk/system_test/embedded_consumer/config/zookeeper_target.properties
    incubator/kafka/trunk/system_test/embedded_consumer/expected.out
    incubator/kafka/trunk/system_test/producer_perf/
    incubator/kafka/trunk/system_test/producer_perf/README
    incubator/kafka/trunk/system_test/producer_perf/bin/
    incubator/kafka/trunk/system_test/producer_perf/bin/expected.out
    incubator/kafka/trunk/system_test/producer_perf/bin/run-compression-test.sh   (with props)
    incubator/kafka/trunk/system_test/producer_perf/bin/run-test.sh   (with props)
    incubator/kafka/trunk/system_test/producer_perf/config/
    incubator/kafka/trunk/system_test/producer_perf/config/server.properties
    incubator/kafka/trunk/system_test/producer_perf/config/zookeeper.properties

Added: incubator/kafka/trunk/CONTRIBUTORS
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/CONTRIBUTORS?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/CONTRIBUTORS (added)
+++ incubator/kafka/trunk/CONTRIBUTORS Mon Aug  1 23:41:24 2011
@@ -0,0 +1,10 @@
+Jay Kreps
+Rui Wang
+Jun Rao
+Neha Narkhede
+Fatih Emekci
+Lin Guo
+Shirshanka Das
+Roshan Sumbaly
+Sam Shah
+Chris Burroughs
\ No newline at end of file

Added: incubator/kafka/trunk/LICENSE
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/LICENSE?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/LICENSE (added)
+++ incubator/kafka/trunk/LICENSE Mon Aug  1 23:41:24 2011
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright 2010 LinkedIn
+
+   Licensed 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.

Added: incubator/kafka/trunk/NOTICE
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/NOTICE?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/NOTICE (added)
+++ incubator/kafka/trunk/NOTICE Mon Aug  1 23:41:24 2011
@@ -0,0 +1,64 @@
+Kafka
+
+This product includes software developed by the Apache Software Foundation (http://www.apache.org/).
+
+This product includes jopt-simple, a library for parsing command line options (http://jopt-simple.sourceforge.net/).
+
+This product includes junit, developed by junit.org.
+
+This product includes zkclient, developed by Stefan Groschupf, http://github.com/sgroschupf/zkclient
+
+This produce includes joda-time, developed by joda.org (joda-time.sourceforge.net)
+
+This product includes the scala runtime and compiler (www.scala-lang.org) developed by EPFL, which includes the following license:
+
+This product includes zookeeper, a Hadoop sub-project (http://hadoop.apache.org/zookeeper)
+
+This product includes log4j, an Apache project (http://logging.apache.org/log4j)
+
+This product includes easymock, developed by easymock.org (http://easymock.org)
+
+This product includes objenesis, developed by Joe Walnes, Henri Tremblay, Leonardo Mesquita (http://code.google.com/p/objenesis)
+
+This product includes cglib, developed by sourceforge.net (http://cglib.sourceforge.net)
+
+This product includes asm, developed by OW2 consortium (http://asm.ow2.org)
+-----------------------------------------------------------------------
+
+SCALA LICENSE
+
+Copyright (c) 2002-2010 EPFL, Lausanne, unless otherwise specified.
+All rights reserved.
+
+This software was developed by the Programming Methods Laboratory of the
+Swiss Federal Institute of Technology (EPFL), Lausanne, Switzerland.
+
+Permission to use, copy, modify, and distribute this software in source
+or binary form for any purpose with or without fee is hereby granted,
+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. Neither the name of the EPFL nor the names of its contributors
+      may be used to endorse or promote products derived from this
+      software without specific prior written permission.
+
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``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 REGENTS OR CONTRIBUTORS 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.
+
+-----------------------------------------------------------------------

Added: incubator/kafka/trunk/README.md
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/README.md?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/README.md (added)
+++ incubator/kafka/trunk/README.md Mon Aug  1 23:41:24 2011
@@ -0,0 +1,55 @@
+# Kafka is a distributed publish/subscribe messaging system #
+
+It is designed to support the following
+
+* Persistent messaging with O(1) disk structures that provide constant time performance even with many TB of stored messages.
+* High-throughput: even with very modest hardware Kafka can support hundreds of thousands of messages per second.
+* Explicit support for partitioning messages over Kafka servers and distributing consumption over a cluster of consumer machines while maintaining per-partition ordering semantics.
+* Support for parallel data load into Hadoop.
+
+Kafka is aimed at providing a publish-subscribe solution that can handle all activity stream data and processing on a consumer-scale web site. This kind of activity (page views, searches, and other user actions) are a key ingredient in many of the social feature on the modern web. This data is typically handled by "logging" and ad hoc log aggregation solutions due to the throughput requirements. This kind of ad hoc solution is a viable solution to providing logging data to an offline analysis system like Hadoop, but is very limiting for building real-time processing. Kafka aims to unify offline and online processing by providing a mechanism for parallel load into Hadoop as well as the ability to partition real-time consumption over a cluster of machines.
+
+See our [web site](http://sna-projects.com/kafka) for more details on the project.
+
+## Contribution ##
+
+Kafka is a new project, and we are interested in building the community; we would welcome any thoughts or patches. You can reach us [here](http://groups.google.com/group/kafka-dev). 
+
+To get kafka code:
+  git clone git@github.com:kafka-dev/kafka.git kafka
+
+To build: 
+
+1. ./sbt
+2. update - This downloads all the dependencies for all sub projects
+3. package - This will compile all sub projects and creates all the jars
+
+Here are some useful sbt commands, to be executed at the sbt command prompt (./sbt) -
+
+actions : Lists all the sbt commands and their descriptions
+
+clean : Deletes all generated files (the target directory).
+
+clean-cache : Deletes the cache of artifacts downloaded for automatically managed dependencies.
+
+clean-lib : Deletes the managed library directory.
+
+compile : Compile all the sub projects, but not create the jars
+
+test : Run all unit tests in all sub projects
+
+release-zip : Create all the jars, run unit tests and create a deployable release zip
+
+package-all: Creates jars for src, test, docs etc
+
+projects : List all the sub projects 
+
+project sub_project_name : Switch to a particular sub-project. For example, to switch to the core kafka code, use "project core-kafka"
+
+Following commands can be run only on a particular sub project -
+
+test-only package.test.TestName : Runs only the specified test in the current sub project
+
+run : Provides options to run any of the classes that have a main method. For example, you can switch to project java-examples, and run the examples there by executing "project java-examples" followed by "run" 
+
+

Added: incubator/kafka/trunk/bin/kafka-console-consumer-log4j.properties
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-console-consumer-log4j.properties?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-console-consumer-log4j.properties (added)
+++ incubator/kafka/trunk/bin/kafka-console-consumer-log4j.properties Mon Aug  1 23:41:24 2011
@@ -0,0 +1,7 @@
+log4j.rootLogger=INFO, stderr
+
+log4j.appender.stderr=org.apache.log4j.ConsoleAppender
+log4j.appender.stderr.target=System.err
+log4j.appender.stderr.layout=org.apache.log4j.PatternLayout
+log4j.appender.stderr.layout.ConversionPattern=[%d] %p %m (%c)%n
+

Added: incubator/kafka/trunk/bin/kafka-console-consumer.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-console-consumer.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-console-consumer.sh (added)
+++ incubator/kafka/trunk/bin/kafka-console-consumer.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+base_dir=$(dirname $0)
+export KAFKA_OPTS="-Xmx512M -server -Dcom.sun.management.jmxremote -Dlog4j.configuration=file:$base_dir/kafka-console-consumer-log4j.properties"
+$base_dir/kafka-run-class.sh kafka.consumer.ConsoleConsumer $@

Propchange: incubator/kafka/trunk/bin/kafka-console-consumer.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-consumer-perf-test.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-consumer-perf-test.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-consumer-perf-test.sh (added)
+++ incubator/kafka/trunk/bin/kafka-consumer-perf-test.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+$(dirname $0)/kafka-run-class.sh kafka.tools.ConsumerPerformance $@

Propchange: incubator/kafka/trunk/bin/kafka-consumer-perf-test.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-consumer-shell.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-consumer-shell.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-consumer-shell.sh (added)
+++ incubator/kafka/trunk/bin/kafka-consumer-shell.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+$(dirname $0)/kafka-run-class.sh kafka.tools.ConsumerShell $@

Propchange: incubator/kafka/trunk/bin/kafka-consumer-shell.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-producer-perf-test.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-producer-perf-test.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-producer-perf-test.sh (added)
+++ incubator/kafka/trunk/bin/kafka-producer-perf-test.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+$(dirname $0)/kafka-run-class.sh kafka.tools.ProducerPerformance $@

Propchange: incubator/kafka/trunk/bin/kafka-producer-perf-test.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-producer-shell.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-producer-shell.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-producer-shell.sh (added)
+++ incubator/kafka/trunk/bin/kafka-producer-shell.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+$(dirname $0)/kafka-run-class.sh kafka.tools.ProducerShell $@

Propchange: incubator/kafka/trunk/bin/kafka-producer-shell.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-replay-log-producer.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-replay-log-producer.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-replay-log-producer.sh (added)
+++ incubator/kafka/trunk/bin/kafka-replay-log-producer.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+base_dir=$(dirname $0)
+export KAFKA_OPTS="-Xmx512M -server -Dcom.sun.management.jmxremote -Dlog4j.configuration=file:$base_dir/../config/log4j.properties"
+$base_dir/kafka-run-class.sh kafka.tools.ReplayLogProducer $@

Propchange: incubator/kafka/trunk/bin/kafka-replay-log-producer.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-run-class.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-run-class.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-run-class.sh (added)
+++ incubator/kafka/trunk/bin/kafka-run-class.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+if [ $# -lt 1 ];
+then
+  echo "USAGE: $0 classname [opts]"
+  exit 1
+fi
+
+base_dir=$(dirname $0)/..
+
+for file in $base_dir/project/boot/scala-2.8.0/lib/*.jar;
+do
+  CLASSPATH=$CLASSPATH:$file
+done
+
+for file in $base_dir/core/target/scala_2.8.0/*.jar;
+do
+  CLASSPATH=$CLASSPATH:$file
+done
+
+for file in $base_dir/core/lib/*.jar;
+do
+  CLASSPATH=$CLASSPATH:$file
+done
+
+for file in $base_dir/core/lib_managed/scala_2.8.0/compile/*.jar;
+do
+  if [ ${file##*/} != "sbt-launch.jar" ]; then
+    CLASSPATH=$CLASSPATH:$file
+  fi
+done
+if [ -z "$KAFKA_JMX_OPTS" ]; then
+  KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false  -Dcom.sun.management.jmxremote.ssl=false "
+fi
+if [ -z "$KAFKA_OPTS" ]; then
+  KAFKA_OPTS="-Xmx512M -server  -Dlog4j.configuration=file:$base_dir/config/log4j.properties"
+fi
+if [  $JMX_PORT ]; then
+  KAFKA_JMX_OPTS="$KAFKA_JMX_OPTS -Dcom.sun.management.jmxremote.port=$JMX_PORT "
+fi
+if [ -z "$JAVA_HOME" ]; then
+  JAVA="java"
+else
+  JAVA="$JAVA_HOME/bin/java"
+fi
+
+$JAVA $KAFKA_OPTS $KAFKA_JMX_OPTS -cp $CLASSPATH $@

Propchange: incubator/kafka/trunk/bin/kafka-run-class.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-server-start.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-server-start.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-server-start.sh (added)
+++ incubator/kafka/trunk/bin/kafka-server-start.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [ $# -lt 1 ];
+then
+	echo "USAGE: $0 server.properties [consumer.properties]"
+	exit 1
+fi
+
+export JMX_PORT="9999"
+
+$(dirname $0)/kafka-run-class.sh kafka.Kafka $@

Propchange: incubator/kafka/trunk/bin/kafka-server-start.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-server-stop.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-server-stop.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-server-stop.sh (added)
+++ incubator/kafka/trunk/bin/kafka-server-stop.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,2 @@
+#!/bin/sh
+ps ax | grep -i 'kafka.Kafka' | grep -v grep | awk '{print $1}' | xargs kill -SIGINT

Propchange: incubator/kafka/trunk/bin/kafka-server-stop.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-simple-consumer-perf-test.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-simple-consumer-perf-test.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-simple-consumer-perf-test.sh (added)
+++ incubator/kafka/trunk/bin/kafka-simple-consumer-perf-test.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+$(dirname $0)/kafka-run-class.sh kafka.tools.SimpleConsumerPerformance $@

Propchange: incubator/kafka/trunk/bin/kafka-simple-consumer-perf-test.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/kafka-simple-consumer-shell.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/kafka-simple-consumer-shell.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/kafka-simple-consumer-shell.sh (added)
+++ incubator/kafka/trunk/bin/kafka-simple-consumer-shell.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+$(dirname $0)/kafka-run-class.sh kafka.tools.SimpleConsumerShell $@

Propchange: incubator/kafka/trunk/bin/kafka-simple-consumer-shell.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/zookeeper-server-start.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/zookeeper-server-start.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/zookeeper-server-start.sh (added)
+++ incubator/kafka/trunk/bin/zookeeper-server-start.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [ $# -ne 1 ];
+then
+	echo "USAGE: $0 zookeeper.properties"
+	exit 1
+fi
+
+$(dirname $0)/kafka-run-class.sh org.apache.zookeeper.server.quorum.QuorumPeerMain $@
\ No newline at end of file

Propchange: incubator/kafka/trunk/bin/zookeeper-server-start.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/bin/zookeeper-server-stop.sh
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/bin/zookeeper-server-stop.sh?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/bin/zookeeper-server-stop.sh (added)
+++ incubator/kafka/trunk/bin/zookeeper-server-stop.sh Mon Aug  1 23:41:24 2011
@@ -0,0 +1,2 @@
+#!/bin/sh
+ps ax | grep -i 'zookeeper' | grep -v grep | awk '{print $1}' | xargs kill -SIGINT

Propchange: incubator/kafka/trunk/bin/zookeeper-server-stop.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/kafka/trunk/clients/clojure/.gitignore
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/clojure/.gitignore?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/clients/clojure/.gitignore (added)
+++ incubator/kafka/trunk/clients/clojure/.gitignore Mon Aug  1 23:41:24 2011
@@ -0,0 +1,2 @@
+lib
+classes

Added: incubator/kafka/trunk/clients/clojure/LICENSE
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/clojure/LICENSE?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/clients/clojure/LICENSE (added)
+++ incubator/kafka/trunk/clients/clojure/LICENSE Mon Aug  1 23:41:24 2011
@@ -0,0 +1,202 @@
+
+                              Apache License
+                        Version 2.0, January 2004
+                     http://www.apache.org/licenses/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+   "License" shall mean the terms and conditions for use, reproduction,
+   and distribution as defined by Sections 1 through 9 of this document.
+
+   "Licensor" shall mean the copyright owner or entity authorized by
+   the copyright owner that is granting the License.
+
+   "Legal Entity" shall mean the union of the acting entity and all
+   other entities that control, are controlled by, or are under common
+   control with that entity. For the purposes of this definition,
+   "control" means (i) the power, direct or indirect, to cause the
+   direction or management of such entity, whether by contract or
+   otherwise, or (ii) ownership of fifty percent (50%) or more of the
+   outstanding shares, or (iii) beneficial ownership of such entity.
+
+   "You" (or "Your") shall mean an individual or Legal Entity
+   exercising permissions granted by this License.
+
+   "Source" form shall mean the preferred form for making modifications,
+   including but not limited to software source code, documentation
+   source, and configuration files.
+
+   "Object" form shall mean any form resulting from mechanical
+   transformation or translation of a Source form, including but
+   not limited to compiled object code, generated documentation,
+   and conversions to other media types.
+
+   "Work" shall mean the work of authorship, whether in Source or
+   Object form, made available under the License, as indicated by a
+   copyright notice that is included in or attached to the work
+   (an example is provided in the Appendix below).
+
+   "Derivative Works" shall mean any work, whether in Source or Object
+   form, that is based on (or derived from) the Work and for which the
+   editorial revisions, annotations, elaborations, or other modifications
+   represent, as a whole, an original work of authorship. For the purposes
+   of this License, Derivative Works shall not include works that remain
+   separable from, or merely link (or bind by name) to the interfaces of,
+   the Work and Derivative Works thereof.
+
+   "Contribution" shall mean any work of authorship, including
+   the original version of the Work and any modifications or additions
+   to that Work or Derivative Works thereof, that is intentionally
+   submitted to Licensor for inclusion in the Work by the copyright owner
+   or by an individual or Legal Entity authorized to submit on behalf of
+   the copyright owner. For the purposes of this definition, "submitted"
+   means any form of electronic, verbal, or written communication sent
+   to the Licensor or its representatives, including but not limited to
+   communication on electronic mailing lists, source code control systems,
+   and issue tracking systems that are managed by, or on behalf of, the
+   Licensor for the purpose of discussing and improving the Work, but
+   excluding communication that is conspicuously marked or otherwise
+   designated in writing by the copyright owner as "Not a Contribution."
+
+   "Contributor" shall mean Licensor and any individual or Legal Entity
+   on behalf of whom a Contribution has been received by Licensor and
+   subsequently incorporated within the Work.
+
+2. Grant of Copyright License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   copyright license to reproduce, prepare Derivative Works of,
+   publicly display, publicly perform, sublicense, and distribute the
+   Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   (except as stated in this section) patent license to make, have made,
+   use, offer to sell, sell, import, and otherwise transfer the Work,
+   where such license applies only to those patent claims licensable
+   by such Contributor that are necessarily infringed by their
+   Contribution(s) alone or by combination of their Contribution(s)
+   with the Work to which such Contribution(s) was submitted. If You
+   institute patent litigation against any entity (including a
+   cross-claim or counterclaim in a lawsuit) alleging that the Work
+   or a Contribution incorporated within the Work constitutes direct
+   or contributory patent infringement, then any patent licenses
+   granted to You under this License for that Work shall terminate
+   as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the
+   Work or Derivative Works thereof in any medium, with or without
+   modifications, and in Source or Object form, provided that You
+   meet the following conditions:
+
+   (a) You must give any other recipients of the Work or
+       Derivative Works a copy of this License; and
+
+   (b) You must cause any modified files to carry prominent notices
+       stating that You changed the files; and
+
+   (c) You must retain, in the Source form of any Derivative Works
+       that You distribute, all copyright, patent, trademark, and
+       attribution notices from the Source form of the Work,
+       excluding those notices that do not pertain to any part of
+       the Derivative Works; and
+
+   (d) If the Work includes a "NOTICE" text file as part of its
+       distribution, then any Derivative Works that You distribute must
+       include a readable copy of the attribution notices contained
+       within such NOTICE file, excluding those notices that do not
+       pertain to any part of the Derivative Works, in at least one
+       of the following places: within a NOTICE text file distributed
+       as part of the Derivative Works; within the Source form or
+       documentation, if provided along with the Derivative Works; or,
+       within a display generated by the Derivative Works, if and
+       wherever such third-party notices normally appear. The contents
+       of the NOTICE file are for informational purposes only and
+       do not modify the License. You may add Your own attribution
+       notices within Derivative Works that You distribute, alongside
+       or as an addendum to the NOTICE text from the Work, provided
+       that such additional attribution notices cannot be construed
+       as modifying the License.
+
+   You may add Your own copyright statement to Your modifications and
+   may provide additional or different license terms and conditions
+   for use, reproduction, or distribution of Your modifications, or
+   for any such Derivative Works as a whole, provided Your use,
+   reproduction, and distribution of the Work otherwise complies with
+   the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise,
+   any Contribution intentionally submitted for inclusion in the Work
+   by You to the Licensor shall be under the terms and conditions of
+   this License, without any additional terms or conditions.
+   Notwithstanding the above, nothing herein shall supersede or modify
+   the terms of any separate license agreement you may have executed
+   with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade
+   names, trademarks, service marks, or product names of the Licensor,
+   except as required for reasonable and customary use in describing the
+   origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or
+   agreed to in writing, Licensor provides the Work (and each
+   Contributor provides its Contributions) on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied, including, without limitation, any warranties or conditions
+   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+   PARTICULAR PURPOSE. You are solely responsible for determining the
+   appropriateness of using or redistributing the Work and assume any
+   risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory,
+   whether in tort (including negligence), contract, or otherwise,
+   unless required by applicable law (such as deliberate and grossly
+   negligent acts) or agreed to in writing, shall any Contributor be
+   liable to You for damages, including any direct, indirect, special,
+   incidental, or consequential damages of any character arising as a
+   result of this License or out of the use or inability to use the
+   Work (including but not limited to damages for loss of goodwill,
+   work stoppage, computer failure or malfunction, or any and all
+   other commercial damages or losses), even if such Contributor
+   has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing
+   the Work or Derivative Works thereof, You may choose to offer,
+   and charge a fee for, acceptance of support, warranty, indemnity,
+   or other liability obligations and/or rights consistent with this
+   License. However, in accepting such obligations, You may act only
+   on Your own behalf and on Your sole responsibility, not on behalf
+   of any other Contributor, and only if You agree to indemnify,
+   defend, and hold each Contributor harmless for any liability
+   incurred by, or claims asserted against, such Contributor by reason
+   of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+APPENDIX: How to apply the Apache License to your work.
+
+   To apply the Apache License to your work, attach the following
+   boilerplate notice, with the fields enclosed by brackets "[]"
+   replaced with your own identifying information. (Don't include
+   the brackets!)  The text should be enclosed in the appropriate
+   comment syntax for the file format. We also recommend that a
+   file or class name and description of purpose be included on the
+   same "printed page" as the copyright notice for easier
+   identification within third-party archives.
+
+Copyright 2011 LinkedIn
+
+Licensed 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.

Added: incubator/kafka/trunk/clients/clojure/README.md
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/clojure/README.md?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/clients/clojure/README.md (added)
+++ incubator/kafka/trunk/clients/clojure/README.md Mon Aug  1 23:41:24 2011
@@ -0,0 +1,50 @@
+# kafka-clj
+kafka-clj provides a producer and consumer that supports a basic fetch API as well as a managed sequence interface. Multifetch is not supported yet.
+
+## Quick Start
+
+Download and start [Kafka](http://sna-projects.com/kafka/quickstart.php). 
+
+Pull dependencies with [Leiningen](https://github.com/technomancy/leiningen):
+
+    $ lein deps
+
+And run the example:
+
+    $ lein run-example
+
+## Usage
+
+### Sending messages
+
+    (with-open [p (producer "localhost" 9092)]
+      (produce p "test" 0 "Message 1")
+      (produce p "test" 0 ["Message 2" "Message 3"]))
+
+### Simple consumer
+
+    (with-open [c (consumer "localhost" 9092)]
+      (let [offs (offsets c "test" 0 -1 10)]
+        (consume c "test" 0 (last offs) 1000000)))
+
+### Consumer sequence
+
+    (with-open [c (consumer "localhost" 9092)]
+      (doseq [m (consume-seq c "test" 0 {:blocking true})]
+        (println m)))
+
+Following options are supported:
+
+* :blocking _boolean_ default false, sequence returns nil the first time fetch does not return new messages. If set to true, the sequence tries to fetch new messages :repeat-count times every :repeat-timeout milliseconds. 
+* :repeat-count _int_ number of attempts to fetch new messages before terminating, default 10.
+* :repeat-timeout _int_ wait time in milliseconds between fetch attempts, default 1000.
+* :offset   _long_ initialized to highest offset if not provided.
+* :max-size _int_  max result message size, default 1000000.
+
+### Serialization
+
+Load namespace _kafka.print_ for basic print_dup/read-string serialization or _kafka.serializeable_ for Java object serialization. For custom serialization implement Pack and Unpack protocols.
+
+
+Questions? Email adam.smyczek \_at\_ gmail.com.
+

Added: incubator/kafka/trunk/clients/clojure/leiningen/run_example.clj
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/clojure/leiningen/run_example.clj?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/clients/clojure/leiningen/run_example.clj (added)
+++ incubator/kafka/trunk/clients/clojure/leiningen/run_example.clj Mon Aug  1 23:41:24 2011
@@ -0,0 +1,10 @@
+(ns leiningen.run-example
+  (:use [leiningen.compile :only (eval-in-project)]))
+
+(defn run-example
+  [project & args]
+  (eval-in-project project
+    `(do
+       (require 'kafka.example)
+       (kafka.example/run))))
+

Added: incubator/kafka/trunk/clients/clojure/project.clj
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/clojure/project.clj?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/clients/clojure/project.clj (added)
+++ incubator/kafka/trunk/clients/clojure/project.clj Mon Aug  1 23:41:24 2011
@@ -0,0 +1,13 @@
+(defproject kafka-clj "0.1-SNAPSHOT"
+  :description "Kafka client for Clojure."
+  :url          "http://sna-projects.com/kafka/"
+  :dependencies [[org.clojure/clojure	"1.2.0"]
+                 [org.clojure/clojure-contrib	"1.2.0"]
+                 [log4j "1.2.15" :exclusions [javax.mail/mail
+                                              javax.jms/jms
+                                              com.sun.jdmk/jmxtools
+                                              com.sun.jmx/jmxri]]]
+  :disable-deps-clean false
+  :warn-on-reflection true
+  :source-path "src"
+  :test-path "test")

Added: incubator/kafka/trunk/clients/clojure/resources/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/clients/clojure/resources/log4j.properties?rev=1152970&view=auto
==============================================================================
--- incubator/kafka/trunk/clients/clojure/resources/log4j.properties (added)
+++ incubator/kafka/trunk/clients/clojure/resources/log4j.properties Mon Aug  1 23:41:24 2011
@@ -0,0 +1,5 @@
+log4j.rootLogger=INFO, A1
+ 
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern= %-5p %c - %m%n