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
We have a producer that produces to a topic and does not have Write permissions on it. If I would produce to it, I would expect the produce call to throw an exception. Instead, librdkafka only logs PARTCNT|rdkafka#producer-3| [thrd:ssl://localhost:9090/]: Topic test-topic partition count changed from 3 to 0.
I do produce an on_delivery callback and also call producer.flush() and producer.poll() after the produce.
I found some older related issues #738 and #704 which are already closed with v1.6.0, will provide improved authentication error reporting. There is also this recently opened issue #1787 for a similar problem on the consumer.
How to reproduce
Initialize a producer without Write permissions and then run
Description
We have a producer that produces to a topic and does not have Write permissions on it. If I would produce to it, I would expect the produce call to throw an exception. Instead, librdkafka only logs
PARTCNT|rdkafka#producer-3| [thrd:ssl://localhost:9090/]: Topic test-topic partition count changed from 3 to 0
.I do produce an
on_delivery
callback and also callproducer.flush()
andproducer.poll()
after the produce.I found some older related issues #738 and #704 which are already closed with
v1.6.0, will provide improved authentication error reporting
. There is also this recently opened issue #1787 for a similar problem on the consumer.How to reproduce
Initialize a producer without Write permissions and then run
You will observe the log message, but no error will be raised.
Checklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
): 2.6.0{...}
'debug': '..'
as necessary)The text was updated successfully, but these errors were encountered: