Maxwell的使用
1、Maxwell的概述
1.1 官网简介
This is Maxwell’s daemon, an application that reads MySQL binlogs and writes row updates as JSON to Kafka, Kinesis, or other streaming platforms. Maxwell has low operational overhead, requiring nothing but mysql and a place to write to. Its common use cases include ETL, cache building/expiring, metrics collection, search indexing and inter-service communication. Maxwell gives you some of the benefits of event sourcing without having to re-architect your entire platform. (官网简介)
官网地址:Maxwell’s Daemon (maxwells-daemon.io)
Maxwell 主要用于实时数据同步
1.2 运行原理
1.2.1 MySQL的主从复制
当数据量和并发量特别高时,单个节点MySQL并发量难以承受。因此,我们需要单个节点MySQL扩展,形成MySQL集群。MySQL集群中主节