ppkarwasz opened a new pull request, #525: URL: https://github.com/apache/logging-flume/pull/525
Since #511, `RpcClient` extended `Closeable`, so `close()` threw the checked `IOException`. Callers had to handle a checked exception only for closing the client, while every other client method reports failures with the unchecked `FlumeClientException` (#520). `RpcClient` now extends `AutoCloseable` and `close()` throws `FlumeClientException`, so clients still work with try-with-resources. The examples in the Developer Guide no longer need `throws IOException`. The Avro and Thrift clients in apache/logging-flume-rpc override `close() throws IOException` and need a matching change once this is merged. 🤖 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]
