File tree 2 files changed +8
-6
lines changed
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:
8
8
- Add AdminClient.list_groups API (@messense , #948 )
9
9
- Rename asyncio.py example to avoid circular import (#945 )
10
10
- 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.
11
17
12
18
confluent-kafka-python is based on librdkafka v1.5.2, see the
13
19
[ 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) {
63
63
64
64
CallState_begin (self , & cs );
65
65
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 );
72
68
73
69
CallState_end (self , & cs );
74
70
}
You can’t perform that action at this time.
0 commit comments