Browse Source

Merge pull request #984 from buyology/kafka-1.0.0

add kafka 1.0.0 to travis and as kafka version constant
Evan Huus 8 years ago
parent
commit
9ea1af8cf1
3 changed files with 4 additions and 3 deletions
  1. 2 2
      .travis.yml
  2. 1 1
      README.md
  3. 1 0
      utils.go

+ 2 - 2
.travis.yml

@@ -12,9 +12,9 @@ env:
   - KAFKA_HOSTNAME=localhost
   - DEBUG=true
   matrix:
-  - KAFKA_VERSION=0.9.0.1
   - KAFKA_VERSION=0.10.2.1
-  - KAFKA_VERSION=0.11.0.1
+  - KAFKA_VERSION=0.11.0.2
+  - KAFKA_VERSION=1.0.0
 
 before_install:
 - export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}

+ 1 - 1
README.md

@@ -21,7 +21,7 @@ You might also want to look at the [Frequently Asked Questions](https://github.c
 Sarama provides a "2 releases + 2 months" compatibility guarantee: we support
 the two latest stable releases of Kafka and Go, and we provide a two month
 grace period for older releases. This means we currently officially support
-Go 1.9 through 1.7, and Kafka 0.11 through 0.9, although older releases are
+Go 1.9 through 1.7, and Kafka 1.0 through 0.10, although older releases are
 still likely to work.
 
 Sarama follows semantic versioning and provides API stability via the gopkg.in service.

+ 1 - 0
utils.go

@@ -147,5 +147,6 @@ var (
 	V0_10_1_0  = newKafkaVersion(0, 10, 1, 0)
 	V0_10_2_0  = newKafkaVersion(0, 10, 2, 0)
 	V0_11_0_0  = newKafkaVersion(0, 11, 0, 0)
+	V1_0_0_0   = newKafkaVersion(1, 0, 0, 0)
 	minVersion = V0_8_2_0
 )