fix issue:

* [issue #700] Adjust the prompt and replace the Arrays.asList() with the Collections.singletonList()
This commit is contained in:
Richard
2022-10-19 13:52:51 +08:00
committed by EricZeng
parent cc226d552e
commit ff26a8d46c
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ public class GroupServiceImpl extends BaseVersionControlService implements Group
try {
DescribeConsumerGroupsResult describeConsumerGroupsResult = adminClient.describeConsumerGroups(
Arrays.asList(groupName),
Collections.singletonList(groupName),
new DescribeConsumerGroupsOptions().timeoutMs(KafkaConstant.ADMIN_CLIENT_REQUEST_TIME_OUT_UNIT_MS).includeAuthorizedOperations(false)
);