模拟Slave节点同步binlog写入hive

实时同步mysql增量数据至hive

参考

https://zhuanlan.zhihu.com/p/33504555
https://www.cnblogs.com/rickiyang/p/13841811.html
https://blog.csdn.net/tornadojava/article/details/55099628
https://zhuanlan.zhihu.com/p/88209555
https://dannysu.com/2019/04/28/mysql-binlog-slave-rust/
https://blog.csdn.net/oqqHuTu12345678/article/details/82823890
http://www.ruanyifeng.com/blog/2016/11/byte-order.html
https://github.com/osheroff/mysql-binlog-connector-java
git clone [email protected]:dannysu/rust-mysql-simple.git –branch binlogsync

//TODO