[
https://issues.apache.org/jira/browse/KAFKA-21334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jheng-Sing Chen reassigned KAFKA-21334:
---------------------------------------
Assignee: Jheng-Sing Chen (was: TengYao Chi)
> Test close() while async bootstrap DNS resolution is still pending
> ------------------------------------------------------------------
>
> Key: KAFKA-21334
> URL: https://issues.apache.org/jira/browse/KAFKA-21334
> Project: Kafka
> Issue Type: Sub-task
> Components: clients
> Reporter: TengYao Chi
> Assignee: Jheng-Sing Chen
> Priority: Major
>
> NetworkClient#close() cancels any pending bootstrap resolution and shuts down
> the kafka-bootstrap-dns-resolver executor.
> Every existing test that reaches close() under async bootstrap configuration
> does so only after the resolution has already failed/timed out, so this
> cancellation/shutdown path is unverified.
> Add a unit test that calls close() while a resolution is genuinely still
> pending.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)