File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ v1.5.2 is a maintenance release with the following fixing and enhancements:
88 - Add AdminClient.list_groups API (@messense , #948 )
99 - Rename asyncio.py example to avoid circular import (#945 )
1010 - Upgrade bundled OpenSSL to v1.1.1h (from v1.0.2u)
11+ - The Consumer destructor will no longer trigger ` consumer.close() `
12+ callbacks, ` consumer.close() ` must now be explicitly called to cleanly
13+ close down the consumer and leave the group.
14+ - Fix ` PY_SSIZE_T_CLEAN ` warning in calls to produce().
15+ - Restructure source tree to avoid undesired local imports of confluent_kafka
16+ when running pytest.
1117
1218confluent-kafka-python is based on librdkafka v1.5.2, see the
1319[ librdkafka release notes] ( https://github.com/edenhill/librdkafka/releases/tag/v1.5.2 )
Original file line number Diff line number Diff line change @@ -63,12 +63,8 @@ static void Consumer_dealloc (Handle *self) {
6363
6464 CallState_begin (self , & cs );
6565
66- /* If application has not called c.close() then
67- * rd_kafka_destroy() will, and that might trigger
68- * callbacks to be called from consumer_close().
69- * This should probably be fixed in librdkafka,
70- * or the application. */
71- rd_kafka_destroy (self -> rk );
66+ rd_kafka_destroy_flags (self -> rk ,
67+ RD_KAFKA_DESTROY_F_NO_CONSUMER_CLOSE );
7268
7369 CallState_end (self , & cs );
7470 }
You can’t perform that action at this time.
0 commit comments