分布式、高可用性、简单、可视化。基于 MySQL binlog,将 binlog 转换为易于理解的消息,并发送到 Kafka 等系统。
Binlogo is the distributed, visualized application based on MySQL binlog. In short, binlogo is to process the data changes of MySQL into easily understand messages and output to different systems according to the user's configuration. Here are part of advantages:
Install redis. Binlogo V2 relies on redis, so you must install redis first.
Install binlogo. Binlogo's download address: Download Address
Message Format: Data format of binlogo output
Start binlogo.
Edit config. ${binlogo-path}/etc/binlogo.yaml
# ./binlogo server --config ./etc/binlogo.yaml
Open up your browser to http://127.0.0.1:8081/console to view the console website
Create Pipeline: config.go
Follow the steps.
Click button to run the pipeline instance.
You can see the operation condition of pipeline.
Insert some into mysql, watch the ouput on stdout.
- High performance, possible data loss.
- acks=1
- enable.idempotence=false
- compression.type=snappy
- retries=0
- For reliability performance:
- acks=-1
- enable.idempotence=true
- retries=3 or larger one
# docker pull jin06/binlogo
# docker run -e REDIS_ADDR=127.0.0.1 -e REDIS_PORT=6379 -e REDIS_PASSWORD=yourpassword -e REDIS_DB=0 --name BinlogoNode -it -d -p 8081:8081 jin06/binlogo:latest暂无开放 Issues,或尚未同步最近议题。