浏览代码

Merge branch 'master' into use-pure-go-zstd

Klaus Post 6 年之前
父节点
当前提交
fb599c8ab2
共有 4 个文件被更改,包括 15 次插入16 次删除
  1. 2 2
      .travis.yml
  2. 10 13
      README.md
  3. 1 1
      dev.yml
  4. 2 0
      go.mod

+ 2 - 2
.travis.yml

@@ -3,6 +3,7 @@ language: go
 go:
 go:
 - 1.11.x
 - 1.11.x
 - 1.12.x
 - 1.12.x
+- 1.13.x
 
 
 env:
 env:
   global:
   global:
@@ -12,7 +13,6 @@ env:
   - KAFKA_HOSTNAME=localhost
   - KAFKA_HOSTNAME=localhost
   - DEBUG=true
   - DEBUG=true
   matrix:
   matrix:
-  - KAFKA_VERSION=2.1.1 KAFKA_SCALA_VERSION=2.12
   - KAFKA_VERSION=2.2.1 KAFKA_SCALA_VERSION=2.12
   - KAFKA_VERSION=2.2.1 KAFKA_SCALA_VERSION=2.12
   - KAFKA_VERSION=2.3.0 KAFKA_SCALA_VERSION=2.12
   - KAFKA_VERSION=2.3.0 KAFKA_SCALA_VERSION=2.12
 
 
@@ -29,7 +29,7 @@ script:
 - make test
 - make test
 - make vet
 - make vet
 - make errcheck
 - make errcheck
-- if [[ "$TRAVIS_GO_VERSION" == 1.12* ]]; then make fmt; fi
+- if [[ "$TRAVIS_GO_VERSION" == 1.13* ]]; then make fmt; fi
 
 
 after_success:
 after_success:
 - go tool cover -func coverage.txt
 - go tool cover -func coverage.txt

+ 10 - 13
README.md

@@ -1,5 +1,4 @@
-sarama
-======
+# sarama
 
 
 [![GoDoc](https://godoc.org/github.com/Shopify/sarama?status.svg)](https://godoc.org/github.com/Shopify/sarama)
 [![GoDoc](https://godoc.org/github.com/Shopify/sarama?status.svg)](https://godoc.org/github.com/Shopify/sarama)
 [![Build Status](https://travis-ci.org/Shopify/sarama.svg?branch=master)](https://travis-ci.org/Shopify/sarama)
 [![Build Status](https://travis-ci.org/Shopify/sarama.svg?branch=master)](https://travis-ci.org/Shopify/sarama)
@@ -7,7 +6,7 @@ sarama
 
 
 Sarama is an MIT-licensed Go client library for [Apache Kafka](https://kafka.apache.org/) version 0.8 (and later).
 Sarama is an MIT-licensed Go client library for [Apache Kafka](https://kafka.apache.org/) version 0.8 (and later).
 
 
-### Getting started
+## Getting started
 
 
 - API documentation and examples are available via [godoc](https://godoc.org/github.com/Shopify/sarama).
 - API documentation and examples are available via [godoc](https://godoc.org/github.com/Shopify/sarama).
 - Mocks for testing are available in the [mocks](./mocks) subpackage.
 - Mocks for testing are available in the [mocks](./mocks) subpackage.
@@ -16,24 +15,22 @@ Sarama is an MIT-licensed Go client library for [Apache Kafka](https://kafka.apa
 
 
 You might also want to look at the [Frequently Asked Questions](https://github.com/Shopify/sarama/wiki/Frequently-Asked-Questions).
 You might also want to look at the [Frequently Asked Questions](https://github.com/Shopify/sarama/wiki/Frequently-Asked-Questions).
 
 
-### Compatibility and API stability
+## Compatibility and API stability
 
 
 Sarama provides a "2 releases + 2 months" compatibility guarantee: we support
 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
 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
 grace period for older releases. This means we currently officially support
-Go 1.11 through 1.12, and Kafka 2.0 through 2.3, although older releases are
+Go 1.11 through 1.13, and Kafka 2.1 through 2.3, although older releases are
 still likely to work.
 still likely to work.
 
 
 Sarama follows semantic versioning and provides API stability via the gopkg.in service.
 Sarama follows semantic versioning and provides API stability via the gopkg.in service.
 You can import a version with a guaranteed stable API via http://gopkg.in/Shopify/sarama.v1.
 You can import a version with a guaranteed stable API via http://gopkg.in/Shopify/sarama.v1.
 A changelog is available [here](CHANGELOG.md).
 A changelog is available [here](CHANGELOG.md).
 
 
-### Contributing
+## Contributing
 
 
-* Get started by checking our [contribution guidelines](https://github.com/Shopify/sarama/blob/master/.github/CONTRIBUTING.md).
-* Read the [Sarama wiki](https://github.com/Shopify/sarama/wiki) for more
-  technical and design details.
-* The [Kafka Protocol Specification](https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol)
-  contains a wealth of useful information.
-* For more general issues, there is [a google group](https://groups.google.com/forum/#!forum/kafka-clients) for Kafka client developers.
-* If you have any questions, just ask!
+- Get started by checking our [contribution guidelines](https://github.com/Shopify/sarama/blob/master/.github/CONTRIBUTING.md).
+- Read the [Sarama wiki](https://github.com/Shopify/sarama/wiki) for more technical and design details.
+- The [Kafka Protocol Specification](https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol) contains a wealth of useful information.
+- For more general issues, there is [a google group](https://groups.google.com/forum/#!forum/kafka-clients) for Kafka client developers.
+- If you have any questions, just ask!

+ 1 - 1
dev.yml

@@ -2,7 +2,7 @@ name: sarama
 
 
 up:
 up:
   - go:
   - go:
-      version: '1.12'
+      version: '1.13'
 
 
 commands:
 commands:
   test:
   test:

+ 2 - 0
go.mod

@@ -1,5 +1,7 @@
 module github.com/Shopify/sarama
 module github.com/Shopify/sarama
 
 
+go 1.13
+
 require (
 require (
 	github.com/Shopify/toxiproxy v2.1.4+incompatible
 	github.com/Shopify/toxiproxy v2.1.4+incompatible
 	github.com/davecgh/go-spew v1.1.1
 	github.com/davecgh/go-spew v1.1.1