geyanggang commented on code in PR #14963:
URL: https://github.com/apache/gravitino/pull/14963#discussion_r4561583904
##########
catalogs/catalog-kafka/src/main/java/org/apache/gravitino/catalog/kafka/KafkaCatalogOperations.java:
##########
@@ -143,6 +148,17 @@ public void initialize(
Collectors.toMap(
e -> e.getKey().substring(CATALOG_BYPASS_PREFIX.length()),
Map.Entry::getValue));
+ List<String> disallowedKeys =
+ bypassConfigs.keySet().stream()
+ .filter(KafkaCatalogOperations::isConfigProviderKey)
+ .sorted()
+ .collect(Collectors.toList());
+ Preconditions.checkArgument(
Review Comment:
Confirmed and fixed in the latest push. Added a 'Kafka catalog client
upgrade' section to `docs/migration-guide.md` (rejected keys including
file/directory providers and `kafka.conf`, how to migrate, and the Jndi/Ldap
login module default), documented the rejected properties in
`docs/kafka-catalog.md`, qualified the bypass statement in
`docs/gravitino-server-config.md`, moved the Kafka config links to 3.9, and set
the PR's user-facing change to Yes. `./gradlew :docs:build` passes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]