|
|
@ -32,7 +32,7 @@ services:
|
|
|
|
# curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @register-mysql.json
|
|
|
|
# curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @register-mysql.json
|
|
|
|
# https://github.com/debezium/docker-images/blob/master/examples/mysql/1.5/inventory.sql
|
|
|
|
# https://github.com/debezium/docker-images/blob/master/examples/mysql/1.5/inventory.sql
|
|
|
|
# https://github.com/debezium/debezium-examples/blob/master/tutorial/register-mysql.json
|
|
|
|
# https://github.com/debezium/debezium-examples/blob/master/tutorial/register-mysql.json
|
|
|
|
connect:
|
|
|
|
debezium:
|
|
|
|
image: debezium/connect:1.5
|
|
|
|
image: debezium/connect:1.5
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- BOOTSTRAP_SERVERS=192.168.100.144:9092
|
|
|
|
- BOOTSTRAP_SERVERS=192.168.100.144:9092
|
|
|
@ -44,4 +44,15 @@ services:
|
|
|
|
- 8083:8083
|
|
|
|
- 8083:8083
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- mysql
|
|
|
|
- mysql
|
|
|
|
- kafka
|
|
|
|
- kafka
|
|
|
|
|
|
|
|
debezium-ui:
|
|
|
|
|
|
|
|
image: debezium/debezium-ui
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
|
|
|
- KAFKA_CONNECT_URI=http://debezium:8083
|
|
|
|
|
|
|
|
- ui.base.uri=http://localhost:8082/api
|
|
|
|
|
|
|
|
ports:
|
|
|
|
|
|
|
|
- 8082:8080
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
|
|
|
|
- kafka
|
|
|
|
|
|
|
|
- debezium
|