Skip to content

Commit 574e483

Browse files
authored
Remove experimental module designation for Async classes (#2143)
* Updated changelog for beta release and backfilled last hotfix * Moved experimental module up a level * Added aio files back * Version v2.13.0b1 * Fixing sleep for Windows * black and isort * Disabled style check for clang-format * Moved version info back to original version for master merge
1 parent f868bb4 commit 574e483

21 files changed

+46
-41
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Confluent Python Client for Apache Kafka - CHANGELOG
22

3+
## 2.13.0b1 - (beta) 2025-11-24
4+
5+
This is a beta release, notes to change to full release later on in changelog. Changes included are:
6+
7+
- Enforced type hinting for all interaces
8+
- Handle OAuth Token Refreshes
9+
- Added black and isort linting rules and enforcement to codebase
10+
- Fix support for wrapped Avro unions
11+
- Enabled direct creation of Message objects
12+
- Added `close()` method to producer
13+
- Added context manager for librdkafka classes to enable easy scope cleanup
14+
- Fixed segfault exceptions on calls against objects that had closed internal objects
15+
- Handle evolution during field transformation of schemas
16+
- Expose deterministic partitioner functions
17+
- Handle null group name to prevent segfault in Admin `list_consumer_group_offsets()`
18+
- Add Accept-Version header for schemas
19+
- Ensure schemaId initialization is thread-safe
20+
- Fix error propagation rule for Python's C API
21+
- Fix SR delete behavior with client-side caching
22+
- Enhanced the BufferTimeoutManager to flush the librdkafka queue
23+
24+
## 2.12.2 - 2025-11-06
25+
26+
v2.12.2 is a hotfix for a critical problem found with Schema Registry clients in the 2.12.1 release:
27+
28+
- Fix IndexOutOfBoundsException when evolving Avro schema that uses rules
29+
330
## v2.12.1 - 2025-10-21
431

532
v2.12.1 is a maintenance release with the following fixes:

examples/asyncio_avro_producer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import argparse
2121
import asyncio
2222

23-
from confluent_kafka.experimental.aio import AIOProducer
23+
from confluent_kafka.aio import AIOProducer
2424
from confluent_kafka.schema_registry import AsyncSchemaRegistryClient
2525
from confluent_kafka.schema_registry._async.avro import AsyncAvroSerializer
2626
from confluent_kafka.serialization import MessageField, SerializationContext

examples/asyncio_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import signal
2121
import sys
2222

23-
from confluent_kafka.experimental.aio import AIOConsumer, AIOProducer
23+
from confluent_kafka.aio import AIOConsumer, AIOProducer
2424

2525
# This example demonstrates comprehensive AsyncIO usage patterns with Kafka:
2626
# - Event loop safe callbacks that don't block the loop

src/confluent_kafka/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
__all__ = [
5555
"admin",
5656
"Consumer",
57-
"experimental",
57+
"aio",
5858
"KafkaError",
5959
"KafkaException",
6060
"kafkatest",
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/confluent_kafka/experimental/aio/producer/_AIOProducer.py renamed to src/confluent_kafka/aio/producer/_AIOProducer.py

File renamed without changes.

src/confluent_kafka/experimental/aio/producer/__init__.py renamed to src/confluent_kafka/aio/producer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
"""
16-
Confluent Kafka Experimental AIOProducer Module
16+
Confluent Kafka AIOProducer Module
1717
1818
This module contains all the components for the async Kafka producer.
1919
"""

src/confluent_kafka/experimental/aio/producer/_buffer_timeout_manager.py renamed to src/confluent_kafka/aio/producer/_buffer_timeout_manager.py

File renamed without changes.

0 commit comments

Comments
 (0)