-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unfortunate error message when missing ACLs #108
Comments
Async or sync publishing? |
Sync |
@paneq |
Unfortunately, it does not. |
Replication procedure:
compare that with:
and that should suffice. FYI: Authentication and authorization is configured here: https://github.com/paneq/kafka_docker_sasl_plain/blob/master/test.yml#L23L36 If something does not work, let me know. |
I can confirm. Investigating and fixing... |
This is a mismatch in between how delivery boy works and how ruby-kafka client works. It won't be fixed due to #106 For rdkafka there's a issue reported: karafka/rdkafka-ruby#92 |
I will close it. This should be fixed in librdkafka and we're moving out from ruby-kafka. |
When the producer uses ruby-kafka and it is not authorized to publish messages to a certain topic (because of Kafka's ACLs) the
Kafka::TopicAuthorizationFailed
exception is raised:However when using waterdrop we get
Kafka::DeliveryFailed
with the message such asFailed to assign partitions to 1 messages in test-topic
exception which hides the real reason behind the failure:I reproduced this issue locally on
confluentinc/cp-kafka:5.1.2
after configuring SASL and ACLs as well as on Confluent Cloud Enterprise cluster.The text was updated successfully, but these errors were encountered: