nevzheng opened a new pull request, #12133: URL: https://github.com/apache/gravitino/pull/12133
### What changes were proposed in this pull request? Add server configuration and lifecycle management for named KMS sources: - parse `gravitino.kms.sources` and per-source properties; - discover provider factories with `ServiceLoader`; - create one long-lived client per configured source; - route requests by source and validate API/source agreement; and - initialize and close the registry with the Gravitino server. ### Why are the changes needed? Deployments may use multiple KMS instances, including multiple instances of one provider. Gravitino needs a central router and lifecycle owner instead of creating SDK or HTTP clients per request. Part of #12131. Depends on #12132. ### Does this PR introduce _any_ user-facing change? Yes. It introduces the `gravitino.kms.*` server configuration namespace. No clients are created when no sources are configured. ### How was this patch tested? - `./gradlew :core:test -PskipITs` ### Series - Epic: #12131 - Position: 2 of 11 - Previous: #12132 - Next: Transit key inspection providers -- 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]
