public class MetaServiceClient extends Object implements MetaService, AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
PROCEDURE_REST_PATH_MAP |
| Constructor and Description |
|---|
MetaServiceClient(org.mydotey.rpc.client.http.HttpServiceClientConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
FetchClustersResponse |
fetchClusters(FetchClustersRequest request) |
FetchConsumerGroupsResponse |
fetchConsumerGroups(FetchConsumerGroupsRequest request) |
FetchTopicsResponse |
fetchTopics(FetchTopicsRequest request) |
org.mydotey.rpc.client.http.HttpServiceClientConfig |
getConfig() |
public MetaServiceClient(org.mydotey.rpc.client.http.HttpServiceClientConfig config)
public org.mydotey.rpc.client.http.HttpServiceClientConfig getConfig()
public FetchClustersResponse fetchClusters(FetchClustersRequest request)
fetchClusters in interface MetaServicepublic FetchTopicsResponse fetchTopics(FetchTopicsRequest request)
fetchTopics in interface MetaServicepublic FetchConsumerGroupsResponse fetchConsumerGroups(FetchConsumerGroupsRequest request)
fetchConsumerGroups in interface MetaServicepublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2019. All rights reserved.