Skip to content

Commit f6bbbb8

Browse files
committed
Bump librdkafka requirement to v1.6.0
1 parent a54196d commit f6bbbb8

File tree

3 files changed

+26
-7
lines changed

3 files changed

+26
-7
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Confluent's Golang client for Apache Kafka
22

3+
## v1.6.0
4+
5+
v1.6.0 is a feature release adding support for KIP-429 Incremental rebalancing.
6+
7+
- Bundles librdkafka v1.6.0 - see release notes for all enhancements and fixes.
8+
9+
10+
confluent-kafka-go is based on librdkafka v1.6.0, see the
11+
[librdkafka release notes](https://github.com/edenhill/librdkafka/releases/tag/v1.6.0)
12+
for a complete list of changes, enhancements, fixes and upgrade considerations.
13+
14+
15+
### Fixes
16+
17+
* Consumer.Close() previously did not trigger the final RevokePartitions
18+
callback, this is now fixed.
19+
20+
21+
322
## v1.5.2
423

524
v1.5.2 is a maintenance release with the following fixes and enhancements:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ for use with [Confluent Cloud](https://www.confluent.io/confluent-cloud/).
123123
Getting Started
124124
===============
125125

126-
Supports Go 1.11+ and librdkafka 1.4.0+.
126+
Supports Go 1.11+ and librdkafka 1.6.0+.
127127

128128
Using Go Modules
129129
----------------
@@ -223,7 +223,7 @@ with `-tags dynamic`.
223223
**Note:** If you use the master branch of the Go client, then you need to use
224224
the master branch of librdkafka.
225225

226-
**confluent-kafka-go requires librdkafka v1.4.0 or later.**
226+
**confluent-kafka-go requires librdkafka v1.6.0 or later.**
227227

228228

229229

kafka/00version.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ import (
2929
//defines and strings in sync.
3030
//
3131
32-
#define MIN_RD_KAFKA_VERSION 0x01040000
32+
#define MIN_RD_KAFKA_VERSION 0x01060000
3333
3434
#ifdef __APPLE__
35-
#define MIN_VER_ERRSTR "confluent-kafka-go requires librdkafka v1.4.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
35+
#define MIN_VER_ERRSTR "confluent-kafka-go requires librdkafka v1.6.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
3636
#else
37-
#define MIN_VER_ERRSTR "confluent-kafka-go requires librdkafka v1.4.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
37+
#define MIN_VER_ERRSTR "confluent-kafka-go requires librdkafka v1.6.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
3838
#endif
3939
4040
#if RD_KAFKA_VERSION < MIN_RD_KAFKA_VERSION
4141
#ifdef __APPLE__
42-
#error "confluent-kafka-go requires librdkafka v1.4.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
42+
#error "confluent-kafka-go requires librdkafka v1.6.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
4343
#else
44-
#error "confluent-kafka-go requires librdkafka v1.4.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
44+
#error "confluent-kafka-go requires librdkafka v1.6.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
4545
#endif
4646
#endif
4747
*/

0 commit comments

Comments
 (0)