ppkarwasz opened a new pull request, #513: URL: https://github.com/apache/logging-flume/pull/513
`RpcClientFactory` referred to the Avro and Thrift clients by class name, although they now live in `logging-flume-rpc`, and created them reflectively before configuring them. Clients are now created by `RpcClientProvider`s discovered with `ServiceLoader` and selected by `client.type`; an unregistered provider can still be named by its class. Providers are registered with BND's `@ServiceProvider`, as in Log4j, which also generates the JPMS `provides`/`uses` clauses and the OSGi capabilities. The `ServiceLoader` is queried on each call, so providers can come and go. The types only needed by client implementations (`AbstractRpcClient`, `SSLContextAwareAbstractRpcClient`, `HostInfo` and the new `RpcClientProvider`) move to `org.apache.flume.client.spi`. Stacked on #511. The transports register their providers in apache/logging-flume-rpc. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
