This repository contains basic Zookeeper, Kafka, Kafka Connect and MariaDB configuration.
To run this example Docker installation is required.
Use Makefile
to run all the examples. To list all available options run make
.
- Run
make up
to start everything up. - Run
make make kafka-connect-connectors
to configureexample
database connector. - Run
make mariadb
to access database shell, run the below example SQL queries to create records. - Run
make kafka-consume-example-primary
,make kafka-consume-example-secondary
ormake kafka-consume-example-tertiary
to consume database events. - run
make mariadb-insert-primary
,make mariadb-insert-secondary
ormake mariadb-insert-tertiary
to insert new records to the tables.