-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fansichi
committed
Feb 14, 2017
1 parent
38712d2
commit 2da0714
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
# gorail | ||
gorail目的打造一个可靠、快速、易用的基于mysql binlog的实时推送系统。 | ||
|
||
|
||
##如何使用 | ||
|
||
|
||
##系统组件 | ||
1. canal: 负责注册mysql,订阅binlog,并解析binlog事件 | ||
2. topic: 整个rail只有单个topic,canal会将binlog数据投递到topic中,每个topic可以注册多个channel,topic和channel是pub/sub关系 | ||
3. channel: channel订阅topic,完全copy了topic的message,调用handler消费消息,对超时的消息和出错的消息重试 | ||
4. handler:负责消费单条message,需要增加后续实现 | ||
|
||
##NOTE | ||
项目处于开发阶段 | ||
|
||
##反馈 | ||
本人待业,精通php、go、java,之前任职于51job、2345、百度,如果谁对我感兴趣,联系我. | ||
mobile:18017057834 | ||
QQ:564387226 | ||
email:fansichi@baidu.com | ||
|
||
|
||
|