Examples of ClusterNodeAccessStrategy


Examples of com.alibaba.otter.canal.client.impl.ClusterNodeAccessStrategy

                                                     String password) {
        ClusterCanalConnector canalConnector = new ClusterCanalConnector(
                                                                         username,
                                                                         password,
                                                                         destination,
                                                                         new ClusterNodeAccessStrategy(
                                                                                                       destination,
                                                                                                       ZkClientx.getZkClient(zkServers)));
        canalConnector.setSoTimeout(30 * 1000);
        return canalConnector;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.