@Override
    public CompletableFuture<ConsumerConnection> getConsumerConnectionList(String address,
        GetConsumerConnectionListRequestHeader requestHeader, long timeoutMillis) {
        CompletableFuture<ConsumerConnection> future = new CompletableFuture<>();
        RemotingCommand request = RemotingCommand.createRequestCommand(RequestCode.GET_CONSUMER_CONNECTION_LIST, requestHeader);
        remotingClient.invoke(address, request, timeoutMillis).thenAccept(response -> {
            if (response.getCode() == ResponseCode.SUCCESS) {
                ConsumerConnection consumerConnection = ConsumerConnection.decode(response.getBody(), ConsumerConnection.class);
                future.complete(consumerConnection);
            } else {
                log.warn("getConsumerConnectionList getResponseCommand failed, {} {}", response.getCode(), response.getRemark());
                future.completeExceptionally(new MQClientException(response.getCode(), response.getRemark()));
            }
        });
        return future;
    }
@Test
    public void assertGetConsumerConnectionListWithSuccess() throws Exception {
        ConsumerConnection responseBody = new ConsumerConnection();
        setResponseSuccess(RemotingSerializable.encode(responseBody));
        GetConsumerConnectionListRequestHeader requestHeader = mock(GetConsumerConnectionListRequestHeader.class);
        CompletableFuture<ConsumerConnection> actual = mqClientAdminImpl.getConsumerConnectionList(defaultBrokerAddr, requestHeader, defaultTimeout);
        ConsumerConnection result = actual.get();
        assertNotNull(result);
        assertEquals(0, result.getConnectionSet().size());
    }