FrankYang0529 commented on code in PR #17516: URL: https://github.com/apache/kafka/pull/17516#discussion_r1841870366
########## core/src/test/scala/integration/kafka/api/GroupAuthorizerIntegrationTest.scala: ########## @@ -132,6 +133,136 @@ class GroupAuthorizerIntegrationTest extends BaseRequestTest { assertEquals(Set(topic), consumeException.unauthorizedTopics.asScala) } + @ParameterizedTest(name = TestInfoUtils.TestWithParameterizedQuorumAndGroupProtocolNames) + @MethodSource(Array("getTestQuorumAndGroupProtocolParametersAll")) + def testConsumeUnsubscribeWithoutTopicPermission(quorum: String, groupProtocol: String): Unit = { Review Comment: Hi @lianetm, thanks for review and suggestion. I move `TopicAuthorizationException` related test cases to `AsyncKafkaConsumerTest`. Also, I update the title with `close` function, so we can add `close` related test cases in this PR. WDYT? If you prefer to use another PR to include `close` test cases, I can change it. Thanks. -- 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