Skip to content

Commit 27517c3

Browse files
authored
librdkafka v2.4.0-RC2 (#1180)
2 parents f0d709f + ddffcb6 commit 27517c3

27 files changed

+5294
-5033
lines changed

.semaphore/semaphore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ agent:
66
global_job_config:
77
env_vars:
88
- name: LIBRDKAFKA_VERSION
9-
value: v2.3.0
9+
value: v2.4.0-RC2
1010
prologue:
1111
commands:
1212
- checkout

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Confluent's Golang client for Apache Kafka
22

3-
# v2.3.1
3+
# v2.4.0
44

5-
This is a maintenance release.
5+
This is a feature release.
66

77
## Fixes
88

@@ -11,6 +11,10 @@ This is a maintenance release.
1111
Code using the library will still work with Go 1.17.
1212
(#1136, @rzeijde).
1313

14+
confluent-kafka-go is based on librdkafka v2.4.0, see the
15+
[librdkafka v2.4.0 release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.4.0)
16+
for a complete list of changes, enhancements, fixes and upgrade considerations.
17+
1418

1519
# v2.3.0
1620

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ for use with [Confluent Cloud](https://www.confluent.io/confluent-cloud/).
133133
Getting Started
134134
===============
135135

136-
Supports Go 1.17+ and librdkafka 2.3.0+.
136+
Supports Go 1.17+ and librdkafka 2.4.0+.
137137

138138
Using Go Modules
139139
----------------

examples/docker_aws_lambda_example/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module docker_example
22

33
require (
44
github.com/aws/aws-lambda-go v1.27.0
5-
github.com/confluentinc/confluent-kafka-go/v2 v2.3.0
5+
github.com/confluentinc/confluent-kafka-go/v2 v2.4.0-RC2
66
)
77

88
go 1.14

examples/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ replace github.com/confluentinc/confluent-kafka-go/v2 => ../
99
require (
1010
github.com/actgardner/gogen-avro/v10 v10.2.1
1111
github.com/alecthomas/kingpin v2.2.6+incompatible
12-
github.com/confluentinc/confluent-kafka-go/v2 v2.3.0
12+
github.com/confluentinc/confluent-kafka-go/v2 v2.4.0-RC2
1313
github.com/gdamore/tcell v1.4.0
1414
google.golang.org/protobuf v1.33.0
1515
)

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 0x02030000
32+
#define MIN_RD_KAFKA_VERSION 0x02040000
3333
3434
#ifdef __APPLE__
35-
#define MIN_VER_ERRSTR "confluent-kafka-go requires librdkafka v2.3.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 v2.4.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 v2.3.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 v2.4.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 v2.3.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 v2.4.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 v2.3.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 v2.4.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)