This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nms-nmssync/nms_sync/conf/config.properties
fangshunjian c88b984af2 1、重构代码,改用quartz做线程调度,实现HA
2、多个库的 向同一个库的表 同步数据 在同一个线程执行,保证不会造成死锁的情况,同时不会因为一个表同步事件过长而影响同一个库的其它表同步
3、部分特殊表通过 拦截器的方式 实现同步,如detection_set_info,meta_data。拦截器信息已配置到
table_sync_info 表中
4、重新整理nms 分库与主库 初始化语句及 同步配置表,初始化时
node_table.sync_status,event_record_library.db_id 的默认值需要修改为所在库的
id,id保存在sync_db_info 中,确保所有同步库 sync_db_info 表信息一致
2019-01-12 22:21:30 +06:00

9 lines
344 B
Properties

#\u4e3b\u5e93\u540c\u6b65\u5206\u5e93\u6570\u636e\u7ebf\u7a0b\u65f6\u95f4\u5dee
syncMaterToSlaveTime=10
#\u4e3b\u5e93\u540c\u6b65\u5206\u5e93\u6570\u636e\u7ebf\u7a0b\u65f6\u95f4\u5dee
syncSlaveToMaterTime=15
#从库向主库同步的线程池数量
slave.to.master.pool.num=3
#主库向从库同步的线程池数量
master.to.slave.pool.num=2