lh0156 opened a new pull request, #23066: URL: https://github.com/apache/kafka/pull/23066
### Summary KIP-909 added asynchronous bootstrap DNS resolution state to `NetworkClient`. This change extracts that state machine into the package-private `BootstrapServerResolver` so `NetworkClient` remains focused on network I/O and metadata coordination. The behavior is unchanged: resolution starts eagerly, the timeout starts on the first poll, completed results are processed before the deadline check, failed or empty resolutions retry with the configured backoff, and close/interrupt paths cancel outstanding work. There are no public API, configuration, protocol, or wire-format changes. ### Test Strategy The resolver tests define the lifecycle contract for successful resolution, empty-result retry, exceptional-result retry, and timeout failure before the implementation is integrated. Existing `NetworkClientTest` bootstrap and networking coverage remains green. Verified with: - `./gradlew :clients:test --tests org.apache.kafka.clients.BootstrapServerResolverTest --tests org.apache.kafka.clients.NetworkClientTest` - `./gradlew :clients:spotlessCheck :clients:checkstyleMain :clients:checkstyleTest :clients:spotbugsMain` -- 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]
