Skip to content

Commit

Permalink
librdkafka v2.6.0-RC2 (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
emasab authored Oct 10, 2024
2 parents 1a3ef0e + cc012e4 commit d5c1712
Show file tree
Hide file tree
Showing 26 changed files with 580 additions and 371 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.5.3
value: v2.6.0-RC2
prologue:
commands:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ for use with [Confluent Cloud](https://www.confluent.io/confluent-cloud/).
Getting Started
===============

Supports Go 1.17+ and librdkafka 2.5.3+.
Supports Go 1.17+ and librdkafka 2.6.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.5.4
github.com/confluentinc/confluent-kafka-go/v2 v2.6.0-RC2
)

go 1.21
Expand Down
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.5.4
github.com/confluentinc/confluent-kafka-go/v2 v2.6.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 0x02050300
#define MIN_RD_KAFKA_VERSION 0x02060000
#ifdef __APPLE__
#define MIN_VER_ERRSTR "confluent-kafka-go requires librdkafka v2.5.3 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.6.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.5.3 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.6.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.5.3 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.6.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.5.3 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.6.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
620 changes: 310 additions & 310 deletions kafka/api.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kafka/build_darwin_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package kafka
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static darwin_amd64 from librdkafka-static-bundle-v2.5.3.tgz"
const LibrdkafkaLinkInfo = "static darwin_amd64 from librdkafka-static-bundle-v2.6.0-RC2.tgz"
2 changes: 1 addition & 1 deletion kafka/build_darwin_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package kafka
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static darwin_arm64 from librdkafka-static-bundle-v2.5.3.tgz"
const LibrdkafkaLinkInfo = "static darwin_arm64 from librdkafka-static-bundle-v2.6.0-RC2.tgz"
2 changes: 1 addition & 1 deletion kafka/build_glibc_linux_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package kafka
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static glibc_linux_amd64 from librdkafka-static-bundle-v2.5.3.tgz"
const LibrdkafkaLinkInfo = "static glibc_linux_amd64 from librdkafka-static-bundle-v2.6.0-RC2.tgz"
2 changes: 1 addition & 1 deletion kafka/build_glibc_linux_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package kafka
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static glibc_linux_arm64 from librdkafka-static-bundle-v2.5.3.tgz"
const LibrdkafkaLinkInfo = "static glibc_linux_arm64 from librdkafka-static-bundle-v2.6.0-RC2.tgz"
2 changes: 1 addition & 1 deletion kafka/build_musl_linux_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package kafka
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static musl_linux_amd64 from librdkafka-static-bundle-v2.5.3.tgz"
const LibrdkafkaLinkInfo = "static musl_linux_amd64 from librdkafka-static-bundle-v2.6.0-RC2.tgz"
2 changes: 1 addition & 1 deletion kafka/build_musl_linux_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package kafka
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static musl_linux_arm64 from librdkafka-static-bundle-v2.5.3.tgz"
const LibrdkafkaLinkInfo = "static musl_linux_arm64 from librdkafka-static-bundle-v2.6.0-RC2.tgz"
2 changes: 1 addition & 1 deletion kafka/build_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package kafka
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static windows from librdkafka-static-bundle-v2.5.3.tgz"
const LibrdkafkaLinkInfo = "static windows from librdkafka-static-bundle-v2.6.0-RC2.tgz"
2 changes: 1 addition & 1 deletion kafka/generated_errors.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package kafka

// Copyright 2016-2024 Confluent Inc.
// AUTOMATICALLY GENERATED ON 2024-09-24 09:39:38.47614636 +0530 IST m=+0.000123498 USING librdkafka 2.5.3
// AUTOMATICALLY GENERATED ON 2024-10-10 18:39:57.522607864 +0530 IST m=+0.000115365 USING librdkafka 2.6.0-RC2

/*
#include "select_rdkafka.h"
Expand Down
Loading

0 comments on commit d5c1712

Please sign in to comment.