diff --git a/QuickStart.md b/QuickStart.md index 5657825..eeeec1d 100644 --- a/QuickStart.md +++ b/QuickStart.md @@ -35,46 +35,6 @@ drwxr-xr-x 2 jianghang jianghang 48 2013-02-05 21:29 logs

3. 配置修改

-

公用参数:

-
vi conf/canal.properties
-
#################################################
-#########               common argument         ############# 
-#################################################
-canal.id= 1
-canal.address=
-canal.port= 11111
-canal.zkServers=
-# flush data to zk
-canal.zookeeper.flush.period = 1000
-## memory store RingBuffer size, should be Math.pow(2,n)
-canal.instance.memory.buffer.size = 32768
-
-## detecing config
-canal.instance.detecting.enable = false
-canal.instance.detecting.sql = insert into retl.xdual values(1,now()) on duplicate key update x=now()
-canal.instance.detecting.interval.time = 3 
-canal.instance.detecting.retry.threshold = 3 
-canal.instance.detecting.heartbeatHaEnable = false
-
-# support maximum transaction size, more than the size of the transaction will be cut into multiple transactions delivery
-canal.instance.transactionn.size =  1024
-
-# network config
-canal.instance.network.receiveBufferSize = 16384
-canal.instance.network.sendBufferSize = 16384
-canal.instance.network.soTimeout = 30
-
-#################################################
-#########               destinations            ############# 
-#################################################
-canal.destinations= example
-
-canal.instance.global.mode = spring 
-canal.instance.global.lazy = true  ##修改为false,代表立马启动
-#canal.instance.global.manager.address = 127.0.0.1:1099
-canal.instance.global.spring.xml = classpath:spring/memory-instance.xml
-#canal.instance.global.spring.xml = classpath:spring/default-instance.xml
-

应用参数:

vi conf/example/instance.properties
#################################################
@@ -93,10 +53,9 @@ canal.instance.master.timestamp =
 #canal.instance.standby.timestamp = 
 
 # username/password
-canal.instance.dbUsername = retl  #改成自己的数据库信息
-canal.instance.dbPassword = retl  #改成自己的数据库信息
+canal.instance.dbUsername = canal  #改成自己的数据库信息
+canal.instance.dbPassword = canal  #改成自己的数据库信息
 canal.instance.defaultDatabaseName =   #改成自己的数据库信息
-canal.instance.connectionCharsetNumber = 33  #改成自己的数据库信息
 canal.instance.connectionCharset = UTF-8  #改成自己的数据库信息
 
 # table regex
@@ -109,7 +68,6 @@ canal.instance.filter.regex = .*\\..*
 

说明:

4. 准备启动