appchemist commented on code in PR #16043: URL: https://github.com/apache/kafka/pull/16043#discussion_r1631404977
########## core/src/test/scala/integration/kafka/api/PlaintextConsumerSubscriptionTest.scala: ########## @@ -223,6 +225,27 @@ class PlaintextConsumerSubscriptionTest extends AbstractConsumerTest { assertEquals(0, consumer.assignment.size()) } + @ParameterizedTest(name = TestInfoUtils.TestWithParameterizedQuorumAndGroupProtocolNames) + @MethodSource(Array("getTestQuorumAndGroupProtocolParametersAll")) + def testSubscribeInvalidTopic(quorum: String, groupProtocol: String): Unit = { + // Invalid topic name due to space + val invalidTopicName = "topic abc" + val consumer = createConsumer() + + // subscribe invalid topic Review Comment: You mean to delete line 235, right? -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org