Skip to content

Commit

Permalink
librdkafka v2.4.0-RC2 (#1180)
Browse files Browse the repository at this point in the history
  • Loading branch information
milindl committed Apr 19, 2024
2 parents f0d709f + ddffcb6 commit 27517c3
Show file tree
Hide file tree
Showing 27 changed files with 5,294 additions and 5,033 deletions.
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ agent:
global_job_config:
env_vars:
- name: LIBRDKAFKA_VERSION
value: v2.3.0
value: v2.4.0-RC2
prologue:
commands:
- checkout
Expand Down
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Confluent's Golang client for Apache Kafka

# v2.3.1
# v2.4.0

This is a maintenance release.
This is a feature release.

## Fixes

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

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


# v2.3.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ for use with [Confluent Cloud](https://www.confluent.io/confluent-cloud/).
Getting Started
===============

Supports Go 1.17+ and librdkafka 2.3.0+.
Supports Go 1.17+ and librdkafka 2.4.0+.

Using Go Modules
----------------
Expand Down
2 changes: 1 addition & 1 deletion examples/docker_aws_lambda_example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module docker_example

require (
github.com/aws/aws-lambda-go v1.27.0
github.com/confluentinc/confluent-kafka-go/v2 v2.3.0
github.com/confluentinc/confluent-kafka-go/v2 v2.4.0-RC2
)

go 1.14
2 changes: 1 addition & 1 deletion examples/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace github.com/confluentinc/confluent-kafka-go/v2 => ../
require (
github.com/actgardner/gogen-avro/v10 v10.2.1
github.com/alecthomas/kingpin v2.2.6+incompatible
github.com/confluentinc/confluent-kafka-go/v2 v2.3.0
github.com/confluentinc/confluent-kafka-go/v2 v2.4.0-RC2
github.com/gdamore/tcell v1.4.0
google.golang.org/protobuf v1.33.0
)
Expand Down
10 changes: 5 additions & 5 deletions kafka/00version.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ import (
//defines and strings in sync.
//
#define MIN_RD_KAFKA_VERSION 0x02030000
#define MIN_RD_KAFKA_VERSION 0x02040000
#ifdef __APPLE__
#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`"
#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`"
#else
#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"
#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"
#endif
#if RD_KAFKA_VERSION < MIN_RD_KAFKA_VERSION
#ifdef __APPLE__
#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`"
#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`"
#else
#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"
#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"
#endif
#endif
*/
Expand Down
Loading

0 comments on commit 27517c3

Please sign in to comment.