Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
ClientUtilsTest and ClusterConnectionStatesTest currently use an external DNS to resolve the IP addresses for kafka.apache.org. Until recently there were only two IP4 addresses, but now there is a third.
At first the tests were changed to just check for multiple addresses. https://github.com/apache/kafka/pull/9294
However, these tests are pretty fragile when they rely on outside sources, so it would make sense to create an in-memory DNS. This is what netty does for similar tests.
Attachments
Issue Links
- links to