From 53193a43d488f3c1aabc5590a3976189cd341303 Mon Sep 17 00:00:00 2001 From: Rigel Bezerra de Melo Date: Mon, 16 Dec 2019 15:28:49 +0000 Subject: [PATCH] Bump librdkafka requirement to 1.3.0. --- README.md | 2 +- kafka/00version.go | 10 +++++----- kafka/README.md | 6 +++--- kafka/generated_errors.go | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a202813cc..f141b8d98 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ Getting Started Installing librdkafka --------------------- -This client for Go depends on librdkafka v1.1.0 or later, so you either need to install librdkafka +This client for Go depends on librdkafka v1.3.0 or later, so you either need to install librdkafka through your OS/distributions package manager, or download and build it from source. - For Debian and Ubuntu based distros, install `librdkafka-dev` from the standard diff --git a/kafka/00version.go b/kafka/00version.go index e9ea11b45..37f1b7b32 100644 --- a/kafka/00version.go +++ b/kafka/00version.go @@ -29,19 +29,19 @@ import ( //defines and strings in sync. // -#define MIN_RD_KAFKA_VERSION 0x01010000 +#define MIN_RD_KAFKA_VERSION 0x010300ff #ifdef __APPLE__ -#define MIN_VER_ERRSTR "confluent-kafka-go requires librdkafka v1.1.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 v1.3.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 v1.1.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 v1.3.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 v1.1.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 v1.3.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 v1.1.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 v1.3.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html" #endif #endif */ diff --git a/kafka/README.md b/kafka/README.md index 0217e2698..5da82c482 100644 --- a/kafka/README.md +++ b/kafka/README.md @@ -79,7 +79,7 @@ For each release candidate and final release, perform the following steps: Make sure the librdkafka version installed is the version this release is aimed to be used with. -E.g., confluent-kafka-go v1.0.0 will require librdkafka v1.0.0. +E.g., confluent-kafka-go v1.3.0 will require librdkafka v1.3.0. ### Update librdkafka version requirement @@ -135,8 +135,8 @@ Make sure to push to github before creating the tag to have CI tests pass. ### Create and push tag - $ git tag v1.0.0-RC3 - $ git push --dry-run origin v1.0.0-RC3 + $ git tag v1.3.0 + $ git push --dry-run origin v1.3.0 # Remove --dry-run and re-execute if it looks ok. diff --git a/kafka/generated_errors.go b/kafka/generated_errors.go index dc1d69d4a..9fa332477 100644 --- a/kafka/generated_errors.go +++ b/kafka/generated_errors.go @@ -1,6 +1,6 @@ package kafka // Copyright 2016 Confluent Inc. -// AUTOMATICALLY GENERATED BY /home/rigelbm/go/bin/go_rdkafka_generr ON 2019-12-16 14:58:01.981501545 +0000 GMT m=+0.000088928 USING librdkafka 1.3.0 +// AUTOMATICALLY GENERATED BY /home/rigelbm/go/bin/go_rdkafka_generr ON 2019-12-16 15:26:26.707334298 +0000 GMT m=+0.000085505 USING librdkafka 1.3.0 /* #include