frankvicky commented on code in PR #16250:
URL: https://github.com/apache/kafka/pull/16250#discussion_r1637320049
##########
clients/src/test/java/org/apache/kafka/clients/admin/KafkaAdminClientTest.java:
##########
@@ -1988,6 +1989,15 @@ public void testDescribeClientMetricsConfigs() throws
Exception {
}
}
+ @Test
+ public void testCreateDescribeConfigsByDuplicateResources() {
+ ConfigResource resource = new
ConfigResource(ConfigResource.Type.BROKER, "1");
+ ConfigResource duplicateResource = new
ConfigResource(ConfigResource.Type.BROKER, "1");
+ try (AdminClientUnitTestEnv env = mockClientEnv()) {
+ assertDoesNotThrow(() ->
env.adminClient().describeConfigs(asList(resource, duplicateResource)));
Review Comment:
Cool, I will do that 👌🏾
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]