mypipe is a MySQL binlog -> Kafka replicator.
The goal of this project is to demonstrate the following data pipeline:
- MySQL RDS binlog -> mypipe
- mypipe -> Kafka
The following outlines how to use this project.
- Clone the repo:
cd /tmp && git clone https://github.com/sakserv/mypipe-example.git
- Create the Kafka Topic (if auto creation of topics is disabled)
cd /tmp/mypipe-example && bash -x bin/create_kafka_topic.sh <topic_name>
Note: MyPipe uses the following for topic name: <database>_<table>_generic
- Modify the environment config
cd /tmp/mypipe-example && vi conf/env.cfg
- Build, Configure and Start mypipe
cd /tmp/mypipe-example && bash -x bin/mypipe.sh