Skip to content

Commit 8c3ac35

Browse files
authored
Added a new consumer group state UNKNOWN. Deprecating the typo state UNKOWN (confluentinc#1539)
1 parent 370d62e commit 8c3ac35

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Confluent's Python client for Apache Kafka
22

3+
## v2.1.1
4+
5+
v2.1.1 is a maintenance release with the following fixes and enhancements:
6+
7+
### Fixes
8+
9+
- Added a new ConsumerGroupState UNKNOWN. The typo state UNKOWN is deprecated and will be removed in the next major version.
10+
11+
312
## v2.1.0
413

514
v2.1.0 is a feature release with the following features, fixes and enhancements:

src/confluent_kafka/_model/__init__.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,21 @@ class ConsumerGroupState(Enum):
6464
"""
6565
Enumerates the different types of Consumer Group State.
6666
67+
Note that the state UNKOWN (typo one) is deprecated and will be removed in
68+
future major release. Use UNKNOWN instead.
69+
6770
Values
6871
------
69-
UNKOWN : State is not known or not set.
72+
UNKNOWN : State is not known or not set.
73+
UNKOWN : State is not known or not set. Typo.
7074
PREPARING_REBALANCING : Preparing rebalance for the consumer group.
7175
COMPLETING_REBALANCING : Consumer Group is completing rebalancing.
7276
STABLE : Consumer Group is stable.
7377
DEAD : Consumer Group is Dead.
7478
EMPTY : Consumer Group is Empty.
7579
"""
76-
UNKOWN = cimpl.CONSUMER_GROUP_STATE_UNKNOWN
80+
UNKNOWN = cimpl.CONSUMER_GROUP_STATE_UNKNOWN
81+
UNKOWN = UNKNOWN
7782
PREPARING_REBALANCING = cimpl.CONSUMER_GROUP_STATE_PREPARING_REBALANCE
7883
COMPLETING_REBALANCING = cimpl.CONSUMER_GROUP_STATE_COMPLETING_REBALANCE
7984
STABLE = cimpl.CONSUMER_GROUP_STATE_STABLE

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