Skip to content

Commit 6621187

Browse files
authored
Upgraded librdkafka to v2.1.0 (confluentinc#1544)
1 parent 6a78a3a commit 6621187

File tree

6 files changed

+20
-13
lines changed

6 files changed

+20
-13
lines changed

.semaphore/semaphore.yml

Lines changed: 2 additions & 2 deletions
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.0.2
9+
value: v2.1.0-RC3
1010
prologue:
1111
commands:
1212
- checkout
@@ -203,7 +203,7 @@ blocks:
203203
- name: "Packaging"
204204
run:
205205
when: "tag =~ '.*'"
206-
dependencies:
206+
dependencies:
207207
- "Wheels: OSX x64"
208208
- "Wheels: OSX arm64"
209209
- "Wheels: Linux arm64"

CHANGELOG.md

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

3-
## vNext
3+
## v2.1.0
4+
5+
v2.1.0 is a feature release with the following features, fixes and enhancements:
46

57
- Added `set_sasl_credentials`. This new method (on the Producer, Consumer, and AdminClient) allows modifying the stored
68
SASL PLAIN/SCRAM credentials that will be used for subsequent (new) connections to a broker (#1511).
@@ -11,6 +13,11 @@
1113
- Migrated travis jobs to Semaphore CI (#1503)
1214

1315

16+
confluent-kafka-python is based on librdkafka v2.1.0, see the
17+
[librdkafka release notes](https://github.com/edenhill/librdkafka/releases/tag/v2.1.0)
18+
for a complete list of changes, enhancements, fixes and upgrade considerations.
19+
20+
1421
## v2.0.2
1522

1623
v2.0.2 is a feature release with the following features, fixes and enhancements:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# built documents.
3535
#
3636
# The short X.Y version.
37-
version = '2.0.2'
37+
version = '2.1.0'
3838
# The full version, including alpha/beta/rc tags.
3939
release = version
4040
######################################################################

examples/docker/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ FROM alpine:3.12
3030

3131
COPY . /usr/src/confluent-kafka-python
3232

33-
ENV LIBRDKAFKA_VERSION v2.0.2
33+
ENV LIBRDKAFKA_VERSION v2.1.0
3434
ENV KAFKACAT_VERSION master
3535

3636

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_install_requirements(path):
7575
setup(name='confluent-kafka',
7676
# Make sure to bump CFL_VERSION* in confluent_kafka/src/confluent_kafka.h
7777
# and version in docs/conf.py.
78-
version='2.0.2',
78+
version='2.1.0',
7979
description='Confluent\'s Python client for Apache Kafka',
8080
author='Confluent Inc',
8181
author_email='support@confluent.io',

src/confluent_kafka/src/confluent_kafka.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,28 @@
4242
* 0xMMmmRRPP
4343
* MM=major, mm=minor, RR=revision, PP=patchlevel (not used)
4444
*/
45-
#define CFL_VERSION 0x02000200
46-
#define CFL_VERSION_STR "2.0.2"
45+
#define CFL_VERSION 0x02010000
46+
#define CFL_VERSION_STR "2.1.0"
4747

4848
/**
4949
* Minimum required librdkafka version. This is checked both during
5050
* build-time (just below) and runtime (see confluent_kafka.c).
5151
* Make sure to keep the MIN_RD_KAFKA_VERSION, MIN_VER_ERRSTR and #error
5252
* defines and strings in sync.
5353
*/
54-
#define MIN_RD_KAFKA_VERSION 0x020002ff
54+
#define MIN_RD_KAFKA_VERSION 0x020100ff
5555

5656
#ifdef __APPLE__
57-
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.0.2 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
57+
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.1.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
5858
#else
59-
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.0.2 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
59+
#define MIN_VER_ERRSTR "confluent-kafka-python 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"
6060
#endif
6161

6262
#if RD_KAFKA_VERSION < MIN_RD_KAFKA_VERSION
6363
#ifdef __APPLE__
64-
#error "confluent-kafka-python requires librdkafka v2.0.2 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
64+
#error "confluent-kafka-python requires librdkafka v2.1.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
6565
#else
66-
#error "confluent-kafka-python requires librdkafka v2.0.2 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
66+
#error "confluent-kafka-python 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"
6767
#endif
6868
#endif
6969

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy