Skip to content
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

query_watermark_offsets() Doesn't Return Authentication Failure Errors. #4656

Open
4 of 7 tasks
UdithaIshan opened this issue Mar 21, 2024 · 0 comments
Open
4 of 7 tasks

Comments

@UdithaIshan
Copy link

UdithaIshan commented Mar 21, 2024

Description

When the authentication password is incorrect query_watermark_offsets() returns "All broker connections are down" error instead of an authentication failed error.

Also noticed that, rd_kafka_topic_partition_list_query_leaders() function has below validation to return above "All broker connections are down" error when using query_watermark_offsets method.

if (rd_atomic32_get(&rk->rk_broker_up_cnt) == 0) return RD_KAFKA_RESP_ERR__ALL_BROKERS_DOWN;

How to reproduce

Try to query the watermark offsets after configuring sasl.password to incorrect one.

Checklist

  • librdkafka version (release number or git tag): 1.9.2
  • Apache Kafka version: 3.2.0
  • librdkafka client configuration: sasl.mechanism=scram-sha-512, security.protocol=sasl_ssl
  • Operating system: Red Hat Enterprise Linux 8.8
  • Provide logs (with debug=.. as necessary) from librdkafka
  • Provide broker log excerpts
  • Critical issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant