You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I call flush in my setup and expect the message to be sent, and no warning produced, but a simple test of having one message produced, then a flush, leaves the following output
>>> print(KafkaProducer().flush())
%4|1726771494.331|TERMINATE|rdkafka#producer-8| [thrd:app]: Producer terminating with 1 message (3328 bytes) still in queue or transit: use flush() to wait for outstanding message delivery
None
You see that None is returned indicating the messages are sent, but I still get the Producer terminating message. Not sure how best to proceed.
How to reproduce
Produce a message with a payload, don't poll, but call flush
>>> print(KafkaProducer().flush())
%4|1726771494.331|TERMINATE|rdkafka#producer-8| [thrd:app]: Producer terminating with 1 message (3328 bytes) still in queue or transit: use flush() to wait for outstanding message delivery
None
Checklist
Please provide the following information:
confluent-kafka-python and librdkafka version (confluent_kafka.version() and confluent_kafka.libversion()): ('2.5.0', 33882112), ('2.5.0', 33882367)
Apache Kafka broker version: 3.5.1 through AWS MSK
Description
I call flush in my setup and expect the message to be sent, and no warning produced, but a simple test of having one message produced, then a flush, leaves the following output
You see that
None
is returned indicating the messages are sent, but I still get the Producer terminating message. Not sure how best to proceed.How to reproduce
Produce a message with a payload, don't poll, but call flush
Checklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
):('2.5.0', 33882112)
,('2.5.0', 33882367)
3.5.1
through AWS MSK{ "api.version.request": False, "bootstrap.servers": 'msk_server_1,msk_server_2', "security.protocol": "SSL", "ssl.ca.location": 'path/to/local/ssl/cert/, }
Debian
'debug': '..'
as necessary)The text was updated successfully, but these errors were encountered: