DL1231 commented on code in PR #15067:
URL: https://github.com/apache/kafka/pull/15067#discussion_r1451645649


##########
clients/src/test/java/org/apache/kafka/clients/admin/KafkaAdminClientTest.java:
##########
@@ -4112,11 +4112,18 @@ public void testIncrementalAlterConfigs()  throws 
Exception {
                     .setErrorCode(Errors.INVALID_REQUEST.code())
                     .setErrorMessage("Config value append is not allowed for 
config"));
 
+            responseData.responses().add(new AlterConfigsResourceResponse()
+                    .setResourceName("")
+                    .setResourceType(ConfigResource.Type.GROUP.id())
+                    .setErrorCode(Errors.INVALID_REQUEST.code())
+                    .setErrorMessage("Default group resources are not 
allowed."));
+
             env.kafkaClient().prepareResponse(new 
IncrementalAlterConfigsResponse(responseData));
 
             ConfigResource brokerResource = new 
ConfigResource(ConfigResource.Type.BROKER, "");
             ConfigResource topicResource = new 
ConfigResource(ConfigResource.Type.TOPIC, "topic1");
             ConfigResource metricResource = new 
ConfigResource(ConfigResource.Type.CLIENT_METRICS, "metric1");
+            ConfigResource groupResource = new 
ConfigResource(ConfigResource.Type.GROUP, "");

Review Comment:
   Done



-- 
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]

Reply via email to