geyanggang commented on PR #14963: URL: https://github.com/apache/gravitino/pull/14963#issuecomment-6853119942
I also reviewed the whole PR again and fixed one more gap in 74d27ec: the provider check only ran when the catalog operations were initialized, so `createCatalog` and `alterCatalog` accepted and stored the keys and the catalog failed on first use. `KafkaCatalog` now overrides `validateConfiguration`, so create, `testConnection` and alter reject them up front, while the `initialize` check still covers `kafka.conf` and catalogs stored before the upgrade. A removal-only `alterCatalog` still works because only the proposed configuration is validated. Also fixed: `BrokerConfigKeys` now has the ASF header (it had picked up the Confluent header of its siblings), the positive unit test closes its AdminClient, and a vacuous assertion is replaced with a check that no AdminClient was created. Added unit and IT coverage for create and alter, and the docs now describe create/alter rejection. -- 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]
