confluentinc / examples

Apache Kafka and Confluent Platform examples and demos
Apache License 2.0
1.92k stars 1.12k forks source link

Config auto generation wrong for ccloud schema registry #1040

Open andybryant opened 3 years ago

andybryant commented 3 years ago

Description If you follow the instructions documented here for generating config for ccloud, it doesn't correctly pick up the schema regsitry user info config

This line should be changed to schema.registry.basic.auth.user.info rather than basic.auth.user.info to correctly pick up the config value: https://github.com/confluentinc/examples/blob/6.2.1-post/utils/ccloud_library.sh#L1195

ybyzek commented 3 years ago

@andybryant please double-check the discrepancy: the code could be wrong or the docs page could be wrong, and in this case, I think it might be the latter? If you need help tracking it down definitively, please let me know.

andybryant commented 3 years ago

In both the docs and example the ksql basic user info is specified with a prefix ksql.basic.auth.user.info so it makes sense for consistency that the same approach is used for the schema registry.

ybyzek commented 3 years ago

Please see https://docs.confluent.io/platform/current/security/basic-auth.html#schema-registry

Screen Shot 2021-10-13 at 20 09 05 PM

This suggests a docs bug with https://docs.confluent.io/cloud/current/cp-component/auto-generate-configs.html