mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
统一Canal 依赖的Spring 版本,升级ibatis 至mybatis (#3182)
* fix issue:#561 增加一个外部参数控制,允许位点不存在时自动重置到当前位点 * Add MariaDB GTID support * 1. fix maven central repository url access error.(Update to https) 2. upgrade spring version to 5.0.5.RELEASE 3. upgrade ibatis to mybatis * fix unit test run error
This commit is contained in:
@@ -22,7 +22,7 @@ public class SimpleCanalClientTest extends AbstractCanalClientTest {
|
||||
// 根据ip,直接创建链接,无HA的功能
|
||||
String destination = "example";
|
||||
String ip = AddressUtils.getHostIp();
|
||||
CanalConnector connector = CanalConnectors.newSingleConnector(new InetSocketAddress(ip, 11111),
|
||||
CanalConnector connector = CanalConnectors.newSingleConnector(new InetSocketAddress("127.0.0.1", 11111),
|
||||
destination,
|
||||
"canal",
|
||||
"canal");
|
||||
|
||||
Reference in New Issue
Block a user