TengYao Chi created KAFKA-21337:
-----------------------------------

             Summary: Integration test for async bootstrap resolution recovers 
after initial DNS failure
                 Key: KAFKA-21337
                 URL: https://issues.apache.org/jira/browse/KAFKA-21337
             Project: Kafka
          Issue Type: Sub-task
          Components: clients
            Reporter: TengYao Chi
            Assignee: TengYao Chi


Inject a custom HostResolver via KafkaAdminClient#createInternal(config, 
metrics, hostResolver) that throws UnknownHostException at first, then switch 
it to resolve successfully before the configured bootstrap.resolve.timeout.ms 
budget expires. 
Verify the admin client completes a real call (e.g. listTopics) against the 
real broker once resolution succeeds.
IIUC, this could follow the current pattern as ConcurrentListOffsetsRequestTest



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to