diff --git a/debezium-ingest-mysql/src/test/docker/mysql.cnf b/debezium-ingest-mysql/src/test/docker/mysql.cnf index c1c03c1c6..ac668333e 100644 --- a/debezium-ingest-mysql/src/test/docker/mysql.cnf +++ b/debezium-ingest-mysql/src/test/docker/mysql.cnf @@ -30,3 +30,17 @@ symbolic-links=0 log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid +# ---------------------------------------------- +# Debezium ingest +# ---------------------------------------------- + +# Enable binary replication log and set the prefix, expiration, and log format. +# The prefix is arbitrary, expiration can be short for integration tests but would +# be longer on a production system. Row-level info is required for ingest to work. +# Server ID is required, but this will vary on production systems +server-id = 112233 +log_bin = mysql-bin +expire_logs_days = 1 +binlog_format = row + +