Skip to content

Commit

Permalink
Add 00version.go and api changes for v2.2.0-RC2 (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
milindl committed Jul 12, 2023
1 parent 9fbcafc commit 262be15
Show file tree
Hide file tree
Showing 3 changed files with 562 additions and 118 deletions.
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 0x02010000
#define MIN_RD_KAFKA_VERSION 0x02020000
#ifdef __APPLE__
#define MIN_VER_ERRSTR "confluent-kafka-go requires librdkafka v2.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 v2.2.0-RC2 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.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 v2.2.0-RC2 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.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 v2.2.0-RC2 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.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 v2.2.0-RC2 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 262be15

Please sign in to comment.