You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "lianetm (via GitHub)" <gi...@apache.org> on 2026/04/07 15:40:57 UTC

Re: [PR] KAFKA-14648: Do not fail clients if bootstrap servers is not immediately resolvable [kafka]

lianetm commented on code in PR #21080:
URL: https://github.com/apache/kafka/pull/21080#discussion_r3046157937


##########
clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java:
##########
@@ -4134,6 +4135,45 @@ public void testConstructorFailsOnNetworkClientConstructorFailure(GroupProtocol
         assertEquals("No LoginModule found for org.example.InvalidLoginModule", cause.getMessage());
     }
 
+    @Test
+    public void testAsyncConsumerBootstrapResolutionExceptionPropagatedToPoll() throws InterruptedException {

Review Comment:
   this behaviour applies equally to both consumers. Should we better parameterize the test to run it for group.protocol=classic too?



-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org