Browse Source

Add kafka 0.9

Fix one new constraint on the broker ID which must now be small unless you
configure otherwise.
Evan Huus 10 năm trước cách đây
mục cha
commit
b841795c04
3 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 1 0
      .travis.yml
  2. 1 1
      vagrant/provision.sh
  3. 1 0
      vagrant/server.properties

+ 1 - 0
.travis.yml

@@ -13,6 +13,7 @@ env:
   matrix:
   matrix:
   - KAFKA_VERSION=0.8.1.1
   - KAFKA_VERSION=0.8.1.1
   - KAFKA_VERSION=0.8.2.2
   - KAFKA_VERSION=0.8.2.2
+  - KAFKA_VERSION=0.9.0.0
 
 
 before_install:
 before_install:
 - export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}
 - export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}

+ 1 - 1
vagrant/provision.sh

@@ -7,7 +7,7 @@ yes | apt-get install default-jre
 
 
 export KAFKA_INSTALL_ROOT=/opt
 export KAFKA_INSTALL_ROOT=/opt
 export KAFKA_HOSTNAME=192.168.100.67
 export KAFKA_HOSTNAME=192.168.100.67
-export KAFKA_VERSION=0.8.2.2
+export KAFKA_VERSION=0.9.0.0
 export REPOSITORY_ROOT=/vagrant
 export REPOSITORY_ROOT=/vagrant
 
 
 sh /vagrant/vagrant/install_cluster.sh
 sh /vagrant/vagrant/install_cluster.sh

+ 1 - 0
vagrant/server.properties

@@ -18,6 +18,7 @@
 
 
 # The id of the broker. This must be set to a unique integer for each broker.
 # The id of the broker. This must be set to a unique integer for each broker.
 broker.id=KAFKAID
 broker.id=KAFKAID
+reserved.broker.max.id=10000
 
 
 ############################# Socket Server Settings #############################
 ############################# Socket Server Settings #############################