use of com.tencent.polaris.plugins.connector.grpc.ConnectionManager in project polaris-java by polarismesh.
the class PolarisConfigFileConnector method init.
@Override
public void init(InitContext ctx) throws PolarisException {
CompletableFuture<String> readyFuture = new CompletableFuture<>();
Map<ClusterType, CompletableFuture<String>> futures = new HashMap<>();
futures.put(ClusterType.SERVICE_DISCOVER_CLUSTER, readyFuture);
connectionManager = new ConnectionManager(ctx, null, futures);
}
Aggregations