Package com.alibaba.otter.canal.client.impl

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


     * @return
     */
    public static CanalConnector newClusterConnector(List<? extends SocketAddress> addresses, String destination,
                                                     String username, String password) {
        ClusterCanalConnector canalConnector = new ClusterCanalConnector(username, password, destination,
                                                                         new SimpleNodeAccessStrategy(addresses));
        canalConnector.setSoTimeout(30 * 1000);
        return canalConnector;
    }
View Full Code Here

TOP

Related Classes of com.alibaba.otter.canal.client.impl.SimpleNodeAccessStrategy

Copyright © 2018 www.massapicom. 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.