您的位置:首页 > 数据库 > MySQL

我的第1个开源项目:MySQL-Binlog

2016-01-15 00:00 706 查看
阅读了github上的项目 https://github.com/shyiko/mysql-binlog-connector-java的源码

然后用netty重写了整个软件

开源软件地址 http://git.oschina.net/qiangzigege/MySQL-Binlog

用netty重写了99%以上的部分,同时增加了界面管理,ZK集群,并行复制。

参考软件:

Mysql配置型请参考下面2个软件:

https://github.com/noplay/python-mysql-replication

https://github.com/ngocdaothanh/mydit

https://github.com/noplay/python-mysql-replication

[mysqld]

server_id = 1

binlog_format = row #默认为mixed

log_bin = mysql-bin.log

expire_logs_days = 10

max_binlog_size = 100M

写代码请参考:
https://github.com/shyiko/mysql-binlog-connector-java
https://github.com/whitesock/open-replicator
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  mysql binlog