├── .gitattributes ├── .github └── workflows │ ├── image-builds-auth.yml │ ├── image-builds-unauth.yml │ └── sanity-check.yml ├── .gitignore ├── LICENSE ├── README-build.md ├── README.md ├── base └── latest │ └── Dockerfile ├── build-all-multiplatform.sh ├── build-all.sh ├── build-debezium-multiplatform.sh ├── build-debezium.sh ├── build-oracle.sh ├── build-postgres-multiplatform.sh ├── build-postgres.sh ├── build-tool-images-multiplatform.sh ├── build-tool-images.sh ├── check-all.sh ├── connect-base ├── 0.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.10 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 0.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.3 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.4 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.5 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.6 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.7 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.8 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.9 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.0 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.3 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.4 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.5 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.6 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.7 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.8 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 1.9 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 2.0 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 2.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 2.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 2.3 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 2.4 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 2.5 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 2.6 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 2.7 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 3.0 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── 3.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties └── 3.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ ├── docker-maven-download.sh │ └── log4j.properties ├── connect ├── 0.1 │ ├── Dockerfile │ └── README.md ├── 0.10 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 0.2 │ ├── Dockerfile │ └── README.md ├── 0.3 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 0.4 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 0.5 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 0.6 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 0.7 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 0.8 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 0.9 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.0 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.1 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.2 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.3 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.4 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.5 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.6 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.7 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.8 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 1.9 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.0 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.1 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.2 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.3 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.4 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.5 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.6 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.7 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 3.0 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 3.1 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 3.2 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md └── snapshot │ └── Dockerfile ├── examples ├── mariadb │ ├── 2.6 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.7 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 3.0 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 3.1 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ └── 3.2 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf ├── mongodb │ ├── 0.10 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 0.6 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 0.7 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 0.8 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 0.9 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.0 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.1 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.2 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.3 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.4 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.5 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.6 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.7 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.8 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 1.9 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 2.0 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 2.1 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 2.2 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 2.3 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 2.4 │ │ ├── Dockerfile │ │ └── init-inventory.sh │ ├── 2.5 │ │ ├── Dockerfile │ │ ├── init-inventory.sh │ │ └── insert-inventory-data.js │ ├── 2.6 │ │ ├── Dockerfile │ │ ├── init-inventory.sh │ │ └── insert-inventory-data.js │ ├── 2.7 │ │ ├── Dockerfile │ │ ├── init-inventory.sh │ │ └── insert-inventory-data.js │ ├── 3.0 │ │ ├── Dockerfile │ │ ├── init-inventory.sh │ │ └── insert-inventory-data.js │ ├── 3.1 │ │ ├── Dockerfile │ │ ├── init-inventory.sh │ │ └── insert-inventory-data.js │ └── 3.2 │ │ ├── Dockerfile │ │ ├── init-inventory.sh │ │ └── insert-inventory-data.js ├── mysql-gtids │ ├── 0.10 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.2 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.3 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.4 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.5 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.6 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.7 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.8 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.9 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.0 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.1 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.2 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.3 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.4 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.5 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.6 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.7 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.8 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.9 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.0 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.1 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.2 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.3 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.4 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.5 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.6 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.7 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 3.0 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 3.1 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ └── 3.2 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf ├── mysql-replication │ ├── master │ │ ├── 2.2 │ │ │ ├── Dockerfile │ │ │ ├── inventory.sql │ │ │ └── master.cnf │ │ ├── 2.3 │ │ │ ├── Dockerfile │ │ │ ├── inventory.sql │ │ │ └── master.cnf │ │ ├── 2.4 │ │ │ ├── Dockerfile │ │ │ ├── inventory.sql │ │ │ └── master.cnf │ │ ├── 2.5 │ │ │ ├── Dockerfile │ │ │ ├── inventory.sql │ │ │ └── master.cnf │ │ ├── 2.6 │ │ │ ├── Dockerfile │ │ │ ├── inventory.sql │ │ │ └── master.cnf │ │ ├── 2.7 │ │ │ ├── Dockerfile │ │ │ ├── inventory.sql │ │ │ └── master.cnf │ │ ├── 3.0 │ │ │ ├── Dockerfile │ │ │ ├── inventory.sql │ │ │ └── master.cnf │ │ ├── 3.1 │ │ │ ├── Dockerfile │ │ │ ├── inventory.sql │ │ │ └── master.cnf │ │ └── 3.2 │ │ │ ├── Dockerfile │ │ │ ├── inventory.sql │ │ │ └── master.cnf │ └── replica │ │ ├── 2.2 │ │ ├── Dockerfile │ │ ├── init.sql │ │ └── slave.cnf │ │ ├── 2.3 │ │ ├── Dockerfile │ │ ├── init.sql │ │ └── slave.cnf │ │ ├── 2.4 │ │ ├── Dockerfile │ │ ├── init.sql │ │ └── slave.cnf │ │ ├── 2.5 │ │ ├── Dockerfile │ │ ├── init.sql │ │ └── slave.cnf │ │ ├── 2.6 │ │ ├── Dockerfile │ │ ├── init.sql │ │ └── slave.cnf │ │ ├── 2.7 │ │ ├── Dockerfile │ │ ├── init.sql │ │ └── slave.cnf │ │ ├── 3.0 │ │ ├── Dockerfile │ │ ├── init.sql │ │ └── slave.cnf │ │ ├── 3.1 │ │ ├── Dockerfile │ │ ├── init.sql │ │ └── slave.cnf │ │ └── 3.2 │ │ ├── Dockerfile │ │ ├── init.sql │ │ └── slave.cnf ├── mysql │ ├── 0.1 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.10 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.2 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.3 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.4 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.5 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.6 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.7 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.8 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 0.9 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.0 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.1 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.2 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.3 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.4 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.5 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.6 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.7 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.8 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 1.9 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.0 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.1 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.2 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.3 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.4 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.5 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.6 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 2.7 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 3.0 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ ├── 3.1 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf │ └── 3.2 │ │ ├── Dockerfile │ │ ├── inventory.sql │ │ └── mysql.cnf └── postgres │ ├── 0.10 │ ├── Dockerfile │ └── inventory.sql │ ├── 0.6 │ ├── Dockerfile │ └── inventory.sql │ ├── 0.7 │ ├── Dockerfile │ └── inventory.sql │ ├── 0.8 │ ├── Dockerfile │ └── inventory.sql │ ├── 0.9 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.0 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.1 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.2 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.3 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.4 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.5 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.6 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.7 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.8 │ ├── Dockerfile │ └── inventory.sql │ ├── 1.9 │ ├── Dockerfile │ └── inventory.sql │ ├── 2.0 │ ├── Dockerfile │ └── inventory.sql │ ├── 2.1 │ ├── Dockerfile │ └── inventory.sql │ ├── 2.2 │ ├── Dockerfile │ └── inventory.sql │ ├── 2.3 │ ├── Dockerfile │ └── inventory.sql │ ├── 2.4 │ ├── Dockerfile │ └── inventory.sql │ ├── 2.5 │ ├── Dockerfile │ └── inventory.sql │ ├── 2.6 │ ├── Dockerfile │ └── inventory.sql │ ├── 2.7 │ ├── Dockerfile │ └── inventory.sql │ ├── 3.0 │ ├── Dockerfile │ └── inventory.sql │ ├── 3.1 │ ├── Dockerfile │ └── inventory.sql │ └── 3.2 │ ├── Dockerfile │ └── inventory.sql ├── image-sync ├── Dockerfile ├── README.md └── sync.sh ├── kafka ├── 0.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.10 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.3 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.4 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.5 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.6 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.7 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.8 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 0.9 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.0 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.3 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.4 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.5 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.6 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.7 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.8 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 1.9 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 2.0 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 2.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 2.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 2.3 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 2.4 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 2.5 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 2.6 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 2.7 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 3.0 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── 3.1 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties └── 3.2 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── log4j.properties ├── local-registry └── docker-compose.yml ├── operator ├── 2.3 │ └── Dockerfile ├── 2.4 │ └── Dockerfile ├── 2.5 │ └── Dockerfile ├── 2.6 │ └── Dockerfile ├── 2.7 │ └── Dockerfile ├── 3.0 │ └── Dockerfile ├── 3.1 │ └── Dockerfile ├── 3.2 │ └── Dockerfile └── snapshot │ ├── .gitignore │ └── Dockerfile ├── oracle ├── 19.3.0 │ ├── cdb │ │ ├── Dockerfile.ee │ │ └── Dockerfile.se │ └── noncdb │ │ ├── Dockerfile.ee │ │ ├── Dockerfile.se │ │ ├── checkDBStatus.sh │ │ ├── dbca.rsp.tmpl │ │ └── runOracle.sh.orig ├── 21.3.0 │ └── cdb │ │ ├── Dockerfile.ee │ │ └── Dockerfile.se └── scripts │ ├── setup │ └── 00-debezium-install.sh │ └── startup │ └── 00-debezium-restart-capture-instances.sh ├── platform-conductor ├── 3.1 │ └── Dockerfile ├── 3.2 │ └── Dockerfile └── snapshot │ └── Dockerfile ├── platform-stage ├── 3.1 │ └── Dockerfile ├── 3.2 │ └── Dockerfile └── snapshot │ └── Dockerfile ├── postgres ├── 12 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 13 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 14 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 15 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 16 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 17 │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 12-alpine │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 13-alpine │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 14-alpine │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 15-alpine │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample ├── 16-alpine │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ │ └── init-permissions.sh │ └── postgresql.conf.sample └── 17-alpine │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint-initdb.d │ └── init-permissions.sh │ └── postgresql.conf.sample ├── server ├── 1.2 │ ├── Dockerfile │ └── README.md ├── 1.3 │ ├── Dockerfile │ └── README.md ├── 1.4 │ ├── Dockerfile │ └── README.md ├── 1.5 │ ├── Dockerfile │ └── README.md ├── 1.6 │ ├── Dockerfile │ └── README.md ├── 1.7 │ ├── Dockerfile │ └── README.md ├── 1.8 │ ├── Dockerfile │ └── README.md ├── 1.9 │ ├── Dockerfile │ └── README.md ├── 2.0 │ ├── Dockerfile │ └── README.md ├── 2.1 │ ├── Dockerfile │ └── README.md ├── 2.2 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.3 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.4 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.5 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.6 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 2.7 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 3.0 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 3.1 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md ├── 3.2 │ ├── Dockerfile │ ├── Dockerfile.local │ └── README.md └── snapshot │ ├── Dockerfile │ └── README.md ├── setup-local-builder.sh ├── tooling ├── Dockerfile ├── LICENSE_httpie.txt ├── LICENSE_jq.txt ├── LICENSE_kafkacat.txt ├── LICENSE_kcctl.txt ├── LICENSE_mycli.txt ├── LICENSE_pgcli.txt └── README.md ├── ui ├── 1.5 │ ├── Dockerfile │ └── README.md ├── 1.6 │ ├── Dockerfile │ └── README.md ├── 1.7 │ ├── Dockerfile │ └── README.md ├── 1.8 │ ├── Dockerfile │ └── README.md ├── 1.9 │ ├── Dockerfile │ └── README.md ├── 2.0 │ ├── Dockerfile │ └── README.md ├── 2.1 │ ├── Dockerfile │ └── README.md ├── 2.2 │ ├── Dockerfile │ └── README.md ├── 2.3 │ ├── Dockerfile │ └── README.md ├── 2.4 │ ├── Dockerfile │ └── README.md ├── 2.5 │ ├── Dockerfile │ └── README.md ├── 2.6 │ ├── Dockerfile │ └── README.md ├── 2.7 │ ├── Dockerfile │ └── README.md ├── 3.0 │ ├── Dockerfile │ └── README.md ├── 3.1 │ ├── Dockerfile │ └── README.md └── 3.2 │ ├── Dockerfile │ └── README.md ├── vulnerability-scan ├── Dockerfile ├── SRCCLR.repo ├── agent.yml └── run.sh ├── website-builder ├── Dockerfile └── README.md └── zookeeper ├── 0.1 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 0.10 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 0.2 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 0.3 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 0.4 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 0.5 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 0.6 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 0.7 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 0.8 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 0.9 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.0 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.1 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.2 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.3 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.4 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.5 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.6 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.7 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.8 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 1.9 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 2.0 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 2.1 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 2.2 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 2.3 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 2.4 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 2.5 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 2.6 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 2.7 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 3.0 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg ├── 3.1 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg └── 3.2 ├── Dockerfile ├── README.md ├── docker-entrypoint.sh └── zoo.cfg /.gitattributes: -------------------------------------------------------------------------------- 1 | # Repository specific GIT options 2 | 3 | # Set default handling of line terminators for all non explicitly listed file types: 4 | * text=auto 5 | 6 | # Force LF as internal repository format for all following files; 7 | # this overrides user settings to enforce the *right format* : 8 | *.java text 9 | *.xml text 10 | *.txt text 11 | *.md text 12 | *.html text 13 | *.properties text 14 | *.rb text 15 | *.pot text 16 | *.po text 17 | *.xsd text 18 | *.header text 19 | *.groovy text 20 | *.css text 21 | 22 | # Specify we want Java-friendly readable chunk headers for diff: 23 | 24 | *.java diff=java -------------------------------------------------------------------------------- /.github/workflows/image-builds-auth.yml: -------------------------------------------------------------------------------- 1 | name: Build Container Images Authenticated 2 | on: 3 | push: 4 | branches: [ main ] 5 | paths-ignore: 6 | - 'oracle/**' 7 | - 'build-oracle.sh' 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - name: Checkout 15 | uses: actions/checkout@v4 16 | - name: Login to Docker Hub 17 | uses: docker/login-action@v3 18 | with: 19 | username: ${{ secrets.DOCKER_HUB_USERNAME }} 20 | password: ${{ secrets.DOCKER_HUB_PASSWORD }} 21 | - name: Build Scripts 22 | run: shellcheck build-*.sh 23 | - name: Run Scripts 24 | env: 25 | SKIP_UI: true 26 | run: | 27 | ./build-all.sh 28 | ./build-tool-images.sh latest 29 | -------------------------------------------------------------------------------- /.github/workflows/sanity-check.yml: -------------------------------------------------------------------------------- 1 | name: Commit message format check 2 | on: [pull_request] 3 | 4 | jobs: 5 | build: 6 | name: Commit message 7 | runs-on: ubuntu-latest 8 | steps: 9 | - name: Checkout repository 10 | uses: actions/checkout@v4 11 | - name: Commit messages in format DBZ-xxx 12 | env: 13 | BASE_REF: ${{ github.base_ref }} 14 | run: | 15 | ! git log --format='format:%s' refs/remotes/origin/$BASE_REF.. | tail -n +2 | grep -Ev '^(DBZ-[[:digit:]]+)|(\[release\])|(\[jenkins-jobs\]) ' 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | *.iml 3 | *.ipr 4 | *.iws 5 | .metadata/ 6 | .recommenders/ 7 | .classpath 8 | .project 9 | .cache 10 | .settings/ 11 | .gradle/ 12 | .DS_Store 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Debezium Authors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /base/latest/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM registry.fedoraproject.org/fedora-minimal:41 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | USER root 6 | RUN microdnf update -y &&\ 7 | microdnf install -y java-21-openjdk tar gzip iproute findutils zip &&\ 8 | microdnf clean all 9 | -------------------------------------------------------------------------------- /build-all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -eo pipefail 4 | 5 | DEBEZIUM_VERSION="3.1" 6 | if [ -z "$DEBEZIUM_VERSIONS" ]; then 7 | DEBEZIUM_VERSIONS="$DEBEZIUM_VERSION" 8 | fi 9 | POSTGRES_VERSIONS="12 12-alpine 13 13-alpine 14 14-alpine 15 15-alpine 16 16-alpine 17 17-alpine" 10 | 11 | for POSTGRES_VERSION in $POSTGRES_VERSIONS; do 12 | ./build-postgres.sh "$POSTGRES_VERSION" 13 | done 14 | 15 | for DBZ in $DEBEZIUM_VERSIONS; do 16 | ./build-debezium.sh "$DBZ" 17 | done 18 | -------------------------------------------------------------------------------- /build-postgres.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -eo pipefail 4 | 5 | if [[ -z "$1" ]]; then 6 | echo "" 7 | echo "A version must be specified." 8 | echo "" 9 | echo "Usage: build-postgres "; 10 | echo "" 11 | exit 1; 12 | fi 13 | 14 | if [ -z "${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}" ]; then 15 | DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME=quay.io/debezium 16 | fi; 17 | 18 | echo "" 19 | echo "****************************************************************" 20 | echo "** Building ${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/postgres:$1" 21 | echo "****************************************************************" 22 | docker build -t "${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/postgres:$1" "postgres/$1" 23 | 24 | 25 | if [[ "$PUSH_IMAGES" == "true" || "$DRY_RUN" == "false" ]]; then 26 | echo "Pushing the image into the registry" 27 | docker push "${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/postgres:$1" 28 | if [ -n "${DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME}" ]; then 29 | docker tag "${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/postgres:$1" "${DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME}/postgres:$1" 30 | docker push "${DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME}/postgres:$1" 31 | fi; 32 | fi 33 | -------------------------------------------------------------------------------- /build-tool-images-multiplatform.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -eo pipefail 4 | 5 | if [[ -z "$TAG" ]]; then 6 | TAG="$1" 7 | fi 8 | 9 | if [ -z "${DEBEZIUM_TOOLS_PLATFORM}" ]; then 10 | DEBEZIUM_TOOLS_PLATFORM=linux/amd64,linux/arm64 11 | fi; 12 | 13 | if [ -z "${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}" ]; then 14 | DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME=quay.io/debezium 15 | fi; 16 | 17 | DEBEZIUM_TOOLS="tooling website-builder" 18 | 19 | for TOOL in $DEBEZIUM_TOOLS; do 20 | echo "" 21 | echo "****************************************************************" 22 | echo "** Building ${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/$TOOL:$TAG for ${DEBEZIUM_TOOLS_PLATFORM}" 23 | echo "****************************************************************" 24 | unset TAGS 25 | TAGS+=("-t ${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/${TOOL}:$TAG") 26 | if [ -n "${DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME}" ]; then 27 | TAGS+=("-t ${DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME}/${TOOL}:$TAG") 28 | fi; 29 | 30 | # shellcheck disable=SC2068 31 | docker buildx build --push --platform "${DEBEZIUM_TOOLS_PLATFORM}" \ 32 | --build-arg DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME="${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}" \ 33 | ${TAGS[@]} \ 34 | "$TOOL" 35 | done 36 | -------------------------------------------------------------------------------- /build-tool-images.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -eo pipefail 4 | 5 | if [[ -z "$TAG" ]]; then 6 | TAG="$1" 7 | fi 8 | 9 | DEBEZIUM_TOOLS="tooling website-builder" 10 | 11 | if [ -z "${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}" ]; then 12 | DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME=quay.io/debezium 13 | fi; 14 | 15 | for TOOL in $DEBEZIUM_TOOLS; do 16 | echo "" 17 | echo "****************************************************************" 18 | echo "** Building ${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/$TOOL:$TAG" 19 | echo "****************************************************************" 20 | docker build -t "${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/$TOOL:$TAG" "$TOOL" 21 | 22 | if [ "$PUSH_IMAGES" == "true" ]; then 23 | echo "Pushing the image into the registry" 24 | docker push "${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/$TOOL:$TAG" 25 | if [ -n "${DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME}" ]; then 26 | docker tag "${DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME}/$TOOL:$TAG" "${DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME}/$TOOL:$TAG" 27 | docker push "${DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME}/$TOOL:$TAG" 28 | fi; 29 | fi 30 | done 31 | -------------------------------------------------------------------------------- /check-all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ## 4 | ## Lints all Dockerfiles with Hadolint 5 | ## 6 | docker run --rm -i -v "$(pwd)":/p --workdir=/p \ 7 | mirror.gcr.io/hadolint/hadolint:latest-debian \ 8 | hadolint ./*/*/Dockerfile 9 | -------------------------------------------------------------------------------- /connect-base/0.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/kafka:0.1 2 | 3 | MAINTAINER Debezium Community 4 | 5 | EXPOSE 8083 6 | VOLUME ["/kafka/data","/kafka/logs","/kafka/config"] 7 | 8 | COPY docker-entrypoint.sh / 9 | COPY log4j.properties $KAFKA_HOME/config/log4j.properties 10 | 11 | # 12 | # Set up the plugins directory ... 13 | # 14 | ENV KAFKA_CONNECT_PLUGINS_DIR=$KAFKA_HOME/connect 15 | RUN mkdir $KAFKA_CONNECT_PLUGINS_DIR; 16 | 17 | # 18 | # The `docker-entrypoint.sh` script will automatically discover the child directories 19 | # within the $KAFKA_CONNECT_PLUGINS_DIR directory (e.g., `/kafka/connect`), and place 20 | # all of the files in those child directories onto the Java classpath. 21 | # 22 | # The general recommendation is to create a separate child directory for each connector 23 | # (e.g., "debezium-connector-mysql"), and to place that connector's JAR files 24 | # and other resource files in that child directory. 25 | # 26 | # However, use a single directory for connectors when those connectors share dependencies. 27 | # This will prevent the classes in the shared dependencies from appearing in multiple JARs 28 | # on the classpath, which results in arcane NoSuchMethodError exceptions. 29 | # 30 | 31 | ENTRYPOINT ["/docker-entrypoint.sh"] 32 | CMD ["start"] -------------------------------------------------------------------------------- /connect-base/0.1/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 6 | log4j.appender.stdout.threshold=INFO 7 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 8 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} - %-5p [%t:%C{1}@%L] - %m%n 9 | 10 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 11 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 12 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 13 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 14 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} - %-5p [%t:%C{1}@%L] - %m%n 15 | 16 | -------------------------------------------------------------------------------- /connect-base/0.10/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/0.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/kafka:0.2 2 | 3 | MAINTAINER Debezium Community 4 | 5 | EXPOSE 8083 6 | VOLUME ["/kafka/data","/kafka/logs","/kafka/config"] 7 | 8 | COPY docker-entrypoint.sh / 9 | COPY log4j.properties $KAFKA_HOME/config/log4j.properties 10 | 11 | # 12 | # Set up the plugins directory ... 13 | # 14 | ENV KAFKA_CONNECT_PLUGINS_DIR=$KAFKA_HOME/connect 15 | RUN mkdir $KAFKA_CONNECT_PLUGINS_DIR; 16 | 17 | # 18 | # The `docker-entrypoint.sh` script will automatically discover the child directories 19 | # within the $KAFKA_CONNECT_PLUGINS_DIR directory (e.g., `/kafka/connect`), and place 20 | # all of the files in those child directories onto the Java classpath. 21 | # 22 | # The general recommendation is to create a separate child directory for each connector 23 | # (e.g., "debezium-connector-mysql"), and to place that connector's JAR files 24 | # and other resource files in that child directory. 25 | # 26 | # However, use a single directory for connectors when those connectors share dependencies. 27 | # This will prevent the classes in the shared dependencies from appearing in multiple JARs 28 | # on the classpath, which results in arcane NoSuchMethodError exceptions. 29 | # 30 | 31 | ENTRYPOINT ["/docker-entrypoint.sh"] 32 | CMD ["start"] -------------------------------------------------------------------------------- /connect-base/0.2/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 6 | log4j.appender.stdout.threshold=INFO 7 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 8 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 9 | 10 | 11 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 12 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 13 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 14 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 16 | 17 | -------------------------------------------------------------------------------- /connect-base/0.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/kafka:0.3 2 | 3 | MAINTAINER Debezium Community 4 | 5 | EXPOSE 8083 6 | VOLUME ["/kafka/data","/kafka/logs","/kafka/config"] 7 | 8 | COPY docker-entrypoint.sh / 9 | COPY log4j.properties $KAFKA_HOME/config/log4j.properties 10 | 11 | # 12 | # Set up the plugins directory ... 13 | # 14 | ENV KAFKA_CONNECT_PLUGINS_DIR=$KAFKA_HOME/connect 15 | RUN mkdir $KAFKA_CONNECT_PLUGINS_DIR; 16 | 17 | # 18 | # The `docker-entrypoint.sh` script will automatically discover the child directories 19 | # within the $KAFKA_CONNECT_PLUGINS_DIR directory (e.g., `/kafka/connect`), and place 20 | # all of the files in those child directories onto the Java classpath. 21 | # 22 | # The general recommendation is to create a separate child directory for each connector 23 | # (e.g., "debezium-connector-mysql"), and to place that connector's JAR files 24 | # and other resource files in that child directory. 25 | # 26 | # However, use a single directory for connectors when those connectors share dependencies. 27 | # This will prevent the classes in the shared dependencies from appearing in multiple JARs 28 | # on the classpath, which results in arcane NoSuchMethodError exceptions. 29 | # 30 | 31 | ENTRYPOINT ["/docker-entrypoint.sh"] 32 | CMD ["start"] -------------------------------------------------------------------------------- /connect-base/0.3/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 6 | log4j.appender.stdout.threshold=INFO 7 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 8 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 9 | 10 | 11 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 12 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 13 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 14 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 16 | 17 | -------------------------------------------------------------------------------- /connect-base/0.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/kafka:0.4 2 | 3 | MAINTAINER Debezium Community 4 | 5 | EXPOSE 8083 6 | VOLUME ["/kafka/data","/kafka/logs","/kafka/config"] 7 | 8 | COPY docker-entrypoint.sh / 9 | COPY log4j.properties $KAFKA_HOME/config/log4j.properties 10 | 11 | # 12 | # Set up the plugins directory ... 13 | # 14 | ENV KAFKA_CONNECT_PLUGINS_DIR=$KAFKA_HOME/connect 15 | RUN mkdir $KAFKA_CONNECT_PLUGINS_DIR; 16 | 17 | # 18 | # The `docker-entrypoint.sh` script will automatically discover the child directories 19 | # within the $KAFKA_CONNECT_PLUGINS_DIR directory (e.g., `/kafka/connect`), and place 20 | # all of the files in those child directories onto the Java classpath. 21 | # 22 | # The general recommendation is to create a separate child directory for each connector 23 | # (e.g., "debezium-connector-mysql"), and to place that connector's JAR files 24 | # and other resource files in that child directory. 25 | # 26 | # However, use a single directory for connectors when those connectors share dependencies. 27 | # This will prevent the classes in the shared dependencies from appearing in multiple JARs 28 | # on the classpath, which results in arcane NoSuchMethodError exceptions. 29 | # 30 | 31 | ENTRYPOINT ["/docker-entrypoint.sh"] 32 | CMD ["start"] -------------------------------------------------------------------------------- /connect-base/0.4/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 6 | log4j.appender.stdout.threshold=INFO 7 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 8 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 9 | 10 | 11 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 12 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 13 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 14 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 16 | 17 | -------------------------------------------------------------------------------- /connect-base/0.5/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 6 | log4j.appender.stdout.threshold=INFO 7 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 8 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 9 | 10 | 11 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 12 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 13 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 14 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 16 | 17 | -------------------------------------------------------------------------------- /connect-base/0.6/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/0.7/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/0.8/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/0.9/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.0/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.1/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.2/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.3/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.4/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.5/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.6/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.7/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.8/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/1.9/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/2.0/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/2.1/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/2.2/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/2.3/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/2.4/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/2.5/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/2.6/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/2.7/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/3.0/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/3.1/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect-base/3.2/log4j.properties: -------------------------------------------------------------------------------- 1 | kafka.logs.dir=logs 2 | 3 | log4j.rootLogger=INFO, stdout, appender 4 | 5 | # Disable excessive reflection warnings - KAFKA-5229 6 | log4j.logger.org.reflections=ERROR 7 | 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 9 | log4j.appender.stdout.threshold=INFO 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 11 | log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 12 | 13 | 14 | log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender 15 | log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH 16 | log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log 17 | log4j.appender.appender.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n 19 | 20 | -------------------------------------------------------------------------------- /connect/0.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.1 2 | 3 | MAINTAINER Debezium Community 4 | 5 | ENV DEBEZIUM_VERSION=0.1.0 \ 6 | MAVEN_CENTRAL="https://repo1.maven.org/maven2" 7 | 8 | # 9 | # Create a single `$KAFKA_CONNECT_PLUGINS_DIR/debezium` directory into which we'll place all of our JARs and files. 10 | # 11 | # Debezium connectors share some dependencies and JARs, so if we put each connector into a separate directory 12 | # then we'd have JARs appearing in multiple places on Kafka Connect's flat classpath, and we'd get 13 | # NoSuchMethod exceptions. 14 | 15 | RUN mkdir $KAFKA_CONNECT_PLUGINS_DIR/debezium 16 | 17 | # 18 | # Download MySQL connector, verify the contents, and then install ... 19 | # 20 | RUN curl -fSL -o /tmp/plugin.tar.gz \ 21 | $MAVEN_CENTRAL/io/debezium/debezium-connector-mysql/$DEBEZIUM_VERSION/debezium-connector-mysql-$DEBEZIUM_VERSION-plugin.tar.gz &&\ 22 | echo "ab7c64402bd5531e0b87c5c4c02650b0 /tmp/plugin.tar.gz" | md5sum -c - &&\ 23 | tar -xzf /tmp/plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 &&\ 24 | rm -f /tmp/plugin.tar.gz 25 | -------------------------------------------------------------------------------- /connect/0.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.10 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV DEBEZIUM_VERSION="0.10.0.Final" \ 6 | MAVEN_REPO_CENTRAL="" \ 7 | MAVEN_REPO_INCUBATOR="" \ 8 | MAVEN_DEP_DESTINATION=$KAFKA_CONNECT_PLUGINS_DIR \ 9 | MONGODB_MD5=30e6580fdac59ac89a234afe021603fb \ 10 | MYSQL_MD5=fc64aa8a93e424817447b109a42311e0 \ 11 | POSTGRES_MD5=677b5b3c188ddcbee382b5d8c9b03f49 \ 12 | SQLSERVER_MD5=fe486e200e563a155ecdaeb10dd54452 \ 13 | ORACLE_MD5=c201f41ced611f453a606b4beb2e59d2 14 | 15 | RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \ 16 | docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \ 17 | docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \ 18 | docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \ 19 | docker-maven-download debezium-incubator oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" 20 | -------------------------------------------------------------------------------- /connect/0.10/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.10 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ARG DEBEZIUM_VERSION=0.10.0.Final 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # -------- testing --------- 9 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 10 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 11 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 12 | COPY debezium-connector-oracle-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-oracle-plugin.tar.gz 13 | COPY debezium-connector-sqlserver-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-sqlserver-plugin.tar.gz 14 | 15 | RUN for CONNECTOR in {mysql,mongodb,postgres,oracle,sqlserver}; do \ 16 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-$CONNECTOR-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR; \ 17 | done; 18 | -------------------------------------------------------------------------------- /connect/0.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.2 2 | 3 | MAINTAINER Debezium Community 4 | 5 | ENV DEBEZIUM_VERSION=0.2.4 \ 6 | MAVEN_CENTRAL="https://repo1.maven.org/maven2" 7 | 8 | # 9 | # Create a single `$KAFKA_CONNECT_PLUGINS_DIR/debezium` directory into which we'll place all of our JARs and files. 10 | # 11 | # Debezium connectors share some dependencies and JARs, so if we put each connector into a separate directory 12 | # then we'd have JARs appearing in multiple places on Kafka Connect's flat classpath, and we'd get 13 | # NoSuchMethod exceptions. 14 | 15 | RUN mkdir $KAFKA_CONNECT_PLUGINS_DIR/debezium 16 | 17 | # 18 | # Download MySQL connector, verify the contents, and then install ... 19 | # 20 | RUN curl -fSL -o /tmp/plugin.tar.gz \ 21 | $MAVEN_CENTRAL/io/debezium/debezium-connector-mysql/$DEBEZIUM_VERSION/debezium-connector-mysql-$DEBEZIUM_VERSION-plugin.tar.gz &&\ 22 | echo "70aac6b6e669b79b2b334fc826ea60b9 /tmp/plugin.tar.gz" | md5sum -c - &&\ 23 | tar -xzf /tmp/plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 &&\ 24 | rm -f /tmp/plugin.tar.gz 25 | -------------------------------------------------------------------------------- /connect/0.3/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.3 2 | 3 | MAINTAINER Debezium Community 4 | 5 | # 6 | # Create a single `$KAFKA_CONNECT_PLUGINS_DIR/debezium` directory into which we'll place all of our JARs and files. 7 | # 8 | # Debezium connectors share some dependencies and JARs, so if we put each connector into a separate directory 9 | # then we'd have JARs appearing in multiple places on Kafka Connect's flat classpath, and we'd get 10 | # NoSuchMethod exceptions. 11 | 12 | RUN mkdir $KAFKA_CONNECT_PLUGINS_DIR/debezium 13 | 14 | # -------- testing --------- 15 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 16 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 17 | RUN tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 &&\ 18 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 19 | -------------------------------------------------------------------------------- /connect/0.4/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.4 2 | 3 | MAINTAINER Debezium Community 4 | 5 | # 6 | # Create a single `$KAFKA_CONNECT_PLUGINS_DIR/debezium` directory into which we'll place all of our JARs and files. 7 | # 8 | # Debezium connectors share some dependencies and JARs, so if we put each connector into a separate directory 9 | # then we'd have JARs appearing in multiple places on Kafka Connect's flat classpath, and we'd get 10 | # NoSuchMethod exceptions. 11 | 12 | RUN mkdir $KAFKA_CONNECT_PLUGINS_DIR/debezium 13 | 14 | # -------- testing --------- 15 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 16 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 17 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 18 | RUN tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 &&\ 19 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 &&\ 20 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 21 | -------------------------------------------------------------------------------- /connect/0.5/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.5 2 | 3 | MAINTAINER Debezium Community 4 | 5 | ARG DEBEZIUM_VERSION=0.5.2 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # 9 | # Create a single `$KAFKA_CONNECT_PLUGINS_DIR/debezium` directory into which we'll place all of our JARs and files. 10 | # 11 | # Debezium connectors share some dependencies and JARs, so if we put each connector into a separate directory 12 | # then we'd have JARs appearing in multiple places on Kafka Connect's flat classpath, and we'd get 13 | # NoSuchMethod exceptions. 14 | 15 | RUN mkdir $KAFKA_CONNECT_PLUGINS_DIR/debezium 16 | 17 | # -------- testing --------- 18 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 19 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 20 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 21 | RUN tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 &&\ 22 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 &&\ 23 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR/debezium --strip 1 24 | -------------------------------------------------------------------------------- /connect/0.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.6 2 | 3 | MAINTAINER Debezium Community 4 | 5 | ENV DEBEZIUM_VERSION=0.6.2 \ 6 | MAVEN_CENTRAL="https://repo1.maven.org/maven2" \ 7 | MD5SUMS="MONGODB_MD5=402d6b37ee74d15b0d6161bc09bd0000 MYSQL_MD5=9ad0ac086d35146b0f6d21afd7f14439 POSTGRES_MD5=84b7ab7df6414bc5fd1590c4a22ef680" 8 | 9 | # 10 | # Download connectors, verify the contents, and then install into the `$KAFKA_CONNECT_PLUGINS_DIR/debezium` directory... 11 | # 12 | RUN eval $MD5SUMS &&\ 13 | for CONNECTOR in {mysql,mongodb,postgres}; do \ 14 | curl -fSL -o /tmp/plugin.tar.gz \ 15 | $MAVEN_CENTRAL/io/debezium/debezium-connector-$CONNECTOR/$DEBEZIUM_VERSION/debezium-connector-$CONNECTOR-$DEBEZIUM_VERSION-plugin.tar.gz &&\ 16 | declare MD5_PARAM_NAME="${CONNECTOR^^}_MD5" &&\ 17 | echo "${!MD5_PARAM_NAME} /tmp/plugin.tar.gz" | md5sum -c - &&\ 18 | tar -xzf /tmp/plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR &&\ 19 | rm -f /tmp/plugin.tar.gz; \ 20 | done; 21 | -------------------------------------------------------------------------------- /connect/0.6/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.6 2 | 3 | MAINTAINER Debezium Community 4 | 5 | ARG DEBEZIUM_VERSION=0.6.2 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # -------- testing --------- 9 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 10 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 11 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 12 | 13 | RUN for CONNECTOR in {mysql,mongodb,postgres}; do \ 14 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-$CONNECTOR-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR; \ 15 | done; 16 | -------------------------------------------------------------------------------- /connect/0.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | ENV DEBEZIUM_VERSION=0.7.5 \ 6 | MAVEN_CENTRAL="https://repo1.maven.org/maven2" \ 7 | MD5SUMS="MONGODB_MD5=eca32461520fe26246c54fc675ef7521 MYSQL_MD5=5b31f16787ae5691e4bb67721e10f8dc POSTGRES_MD5=730cc8acdb4f272498869b986e35ee0a" 8 | 9 | # 10 | # Download connectors, verify the contents, and then install into the `$KAFKA_CONNECT_PLUGINS_DIR/debezium` directory... 11 | # 12 | RUN eval $MD5SUMS &&\ 13 | for CONNECTOR in {mysql,mongodb,postgres}; do \ 14 | curl -fSL -o /tmp/plugin.tar.gz \ 15 | $MAVEN_CENTRAL/io/debezium/debezium-connector-$CONNECTOR/$DEBEZIUM_VERSION/debezium-connector-$CONNECTOR-$DEBEZIUM_VERSION-plugin.tar.gz &&\ 16 | declare MD5_PARAM_NAME="${CONNECTOR^^}_MD5" &&\ 17 | echo "${!MD5_PARAM_NAME} /tmp/plugin.tar.gz" | md5sum -c - &&\ 18 | tar -xzf /tmp/plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR &&\ 19 | rm -f /tmp/plugin.tar.gz; \ 20 | done; 21 | -------------------------------------------------------------------------------- /connect/0.7/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | ARG DEBEZIUM_VERSION=0.7.5 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # -------- testing --------- 9 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 10 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 11 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 12 | 13 | RUN for CONNECTOR in {mysql,mongodb,postgres}; do \ 14 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-$CONNECTOR-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR; \ 15 | done; 16 | -------------------------------------------------------------------------------- /connect/0.8/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.8 2 | 3 | MAINTAINER Debezium Community 4 | 5 | ARG DEBEZIUM_VERSION=0.8.3.Final 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # -------- testing --------- 9 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 10 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 11 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 12 | COPY debezium-connector-oracle-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-oracle-plugin.tar.gz 13 | 14 | RUN for CONNECTOR in {mysql,mongodb,postgres,oracle}; do \ 15 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-$CONNECTOR-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR; \ 16 | done; 17 | -------------------------------------------------------------------------------- /connect/0.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.9 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV DEBEZIUM_VERSION="0.9.5.Final" \ 6 | MAVEN_REPO_CORE="https://repo1.maven.org/maven2" \ 7 | MAVEN_DEP_DESTINATION=$KAFKA_CONNECT_PLUGINS_DIR \ 8 | MONGODB_MD5=a9bde9c4173d4c4f3c0adc9d97a795ee \ 9 | MYSQL_MD5=720b1396358fbdc59bce953f47d3c53f \ 10 | POSTGRES_MD5=a838ae664b7d8d050419d3e638e64273 \ 11 | SQLSERVER_MD5=f21ef11e7b3e34736d428eb1d6ce5450 \ 12 | ORACLE_MD5=1b93c90502d5d369e5a7173759de2504 13 | 14 | RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \ 15 | docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \ 16 | docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \ 17 | docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \ 18 | docker-maven-download debezium oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" 19 | -------------------------------------------------------------------------------- /connect/0.9/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:0.9 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ARG DEBEZIUM_VERSION=0.9.5.Final 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # -------- testing --------- 9 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 10 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 11 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 12 | COPY debezium-connector-oracle-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-oracle-plugin.tar.gz 13 | COPY debezium-connector-sqlserver-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-sqlserver-plugin.tar.gz 14 | 15 | RUN for CONNECTOR in {mysql,mongodb,postgres,oracle,sqlserver}; do \ 16 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-$CONNECTOR-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR; \ 17 | done; 18 | -------------------------------------------------------------------------------- /connect/1.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV DEBEZIUM_VERSION="1.0.3.Final" \ 6 | MAVEN_REPO_CENTRAL="" \ 7 | MAVEN_REPO_INCUBATOR="" \ 8 | MAVEN_DEP_DESTINATION=$KAFKA_CONNECT_PLUGINS_DIR \ 9 | MONGODB_MD5=2c792f490b3746f09fe80c3c96518ac6 \ 10 | MYSQL_MD5=3b0811df55076f32a8d82dce404aa489 \ 11 | POSTGRES_MD5=12d168766e0c5359e12bcfdb6c4e986e \ 12 | SQLSERVER_MD5=11c2d6712a779fa80ac29d48bf46a1f9 \ 13 | ORACLE_MD5=0a362b926d03bc5b0a6913add95a7e34 14 | 15 | RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \ 16 | docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \ 17 | docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \ 18 | docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \ 19 | docker-maven-download debezium-incubator oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" 20 | -------------------------------------------------------------------------------- /connect/1.0/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ARG DEBEZIUM_VERSION=1.0.3.Final 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # -------- testing --------- 9 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 10 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 11 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 12 | COPY debezium-connector-oracle-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-oracle-plugin.tar.gz 13 | COPY debezium-connector-sqlserver-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-sqlserver-plugin.tar.gz 14 | 15 | RUN for CONNECTOR in {mysql,mongodb,postgres,oracle,sqlserver}; do \ 16 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-$CONNECTOR-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR; \ 17 | done; 18 | -------------------------------------------------------------------------------- /connect/1.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.1 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV DEBEZIUM_VERSION="1.1.2.Final" \ 6 | MAVEN_REPO_CENTRAL="" \ 7 | MAVEN_REPO_INCUBATOR="" \ 8 | MAVEN_DEP_DESTINATION=$KAFKA_CONNECT_PLUGINS_DIR \ 9 | MONGODB_MD5=69cfc26b6a580a0e748f03fc8095bd72 \ 10 | MYSQL_MD5=bb9d9e4402da79d1eac929544ba9c602 \ 11 | POSTGRES_MD5=1d080f6e148e6a03816980207f3b2156 \ 12 | SQLSERVER_MD5=a19f308e85d6ed0064f63090c8976318 \ 13 | ORACLE_MD5=313d89746321470e7c3a7df071a2ce08 \ 14 | DB2_MD5=68c942a7540a08e3b67a2a4f3e34ad4c 15 | 16 | RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \ 17 | docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \ 18 | docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \ 19 | docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \ 20 | docker-maven-download debezium-incubator oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" && \ 21 | docker-maven-download debezium-incubator db2 "$DEBEZIUM_VERSION" "$DB2_MD5" 22 | -------------------------------------------------------------------------------- /connect/1.1/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.1 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ARG DEBEZIUM_VERSION=1.1.2.Final 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # -------- testing --------- 9 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 10 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 11 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 12 | COPY debezium-connector-sqlserver-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-sqlserver-plugin.tar.gz 13 | 14 | COPY debezium-connector-oracle-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-oracle-plugin.tar.gz 15 | COPY debezium-connector-db2-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-db2-plugin.tar.gz 16 | 17 | RUN for CONNECTOR in {mysql,mongodb,postgres,sqlserver,oracle,db2}; do \ 18 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-$CONNECTOR-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR; \ 19 | done; 20 | -------------------------------------------------------------------------------- /connect/1.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV DEBEZIUM_VERSION="1.2.5.Final" \ 6 | MAVEN_REPO_CENTRAL="" \ 7 | MAVEN_REPO_INCUBATOR="" \ 8 | MAVEN_DEP_DESTINATION=$KAFKA_CONNECT_PLUGINS_DIR \ 9 | MONGODB_MD5=e592445775b666cc1cedf7040ece6f12 \ 10 | MYSQL_MD5=015fbe0f43f1ad25b7d75660109ac8b2 \ 11 | POSTGRES_MD5=a1c55abd8abd0de2d22cd9e9e1310727 \ 12 | SQLSERVER_MD5=f9ff4bce0784696eb2b10a88d79158a7 \ 13 | ORACLE_MD5=457b834714f2b43f4d1809248ff7961a \ 14 | DB2_MD5=49b4227658459cf2ae716394d42d521a \ 15 | SCRIPTING_MD5=88130376a73c02817556d32a43736621 16 | 17 | RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \ 18 | docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \ 19 | docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \ 20 | docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \ 21 | docker-maven-download debezium-incubator oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" && \ 22 | docker-maven-download debezium-incubator db2 "$DEBEZIUM_VERSION" "$DB2_MD5" && \ 23 | docker-maven-download debezium-optional scripting "$DEBEZIUM_VERSION" "$SCRIPTING_MD5" 24 | -------------------------------------------------------------------------------- /connect/1.2/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ARG DEBEZIUM_VERSION=1.2.5.Final 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # -------- testing --------- 9 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 10 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 11 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 12 | COPY debezium-connector-sqlserver-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-sqlserver-plugin.tar.gz 13 | 14 | COPY debezium-connector-oracle-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-oracle-plugin.tar.gz 15 | COPY debezium-connector-db2-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-db2-plugin.tar.gz 16 | 17 | ADD debezium-scripting-$DEBEZIUM_VERSION-SNAPSHOT.tar.gz $EXTERNAL_LIBS_DIR 18 | 19 | RUN for CONNECTOR in {mysql,mongodb,postgres,sqlserver,oracle,db2}; do \ 20 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-$CONNECTOR-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR; \ 21 | done; 22 | -------------------------------------------------------------------------------- /connect/1.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.3 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV DEBEZIUM_VERSION="1.3.1.Final" \ 6 | MAVEN_REPO_CENTRAL="" \ 7 | MAVEN_REPOS_ADDITIONAL="" \ 8 | MAVEN_DEP_DESTINATION=$KAFKA_CONNECT_PLUGINS_DIR \ 9 | MONGODB_MD5=667fa8a508211b7294d122709ffb47be \ 10 | MYSQL_MD5=d96da516d6fb2559336568c93f74eda2 \ 11 | POSTGRES_MD5=02a489aa11424cd8233bac98f0da702e \ 12 | SQLSERVER_MD5=6a832d2c94966366405d56763bc22d24 \ 13 | ORACLE_MD5=bc5b5dc3745f775057f634ed9879ae7f \ 14 | DB2_MD5=9318451f4b0b070f014b54f8ed1481ed \ 15 | SCRIPTING_MD5=a951540b4514c54b240954088ccd242d 16 | 17 | RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \ 18 | docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \ 19 | docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \ 20 | docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \ 21 | docker-maven-download debezium-additional incubator oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" && \ 22 | docker-maven-download debezium-additional incubator db2 "$DEBEZIUM_VERSION" "$DB2_MD5" && \ 23 | docker-maven-download debezium-optional scripting "$DEBEZIUM_VERSION" "$SCRIPTING_MD5" 24 | -------------------------------------------------------------------------------- /connect/1.3/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.3 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ARG DEBEZIUM_VERSION=1.3.1.Final 6 | ENV DEBEZIUM_VERSION=${DEBEZIUM_VERSION} 7 | 8 | # -------- testing --------- 9 | COPY debezium-connector-mysql-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mysql-plugin.tar.gz 10 | COPY debezium-connector-mongodb-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-mongodb-plugin.tar.gz 11 | COPY debezium-connector-postgres-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-postgres-plugin.tar.gz 12 | COPY debezium-connector-sqlserver-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-sqlserver-plugin.tar.gz 13 | 14 | COPY debezium-connector-oracle-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-oracle-plugin.tar.gz 15 | COPY debezium-connector-db2-$DEBEZIUM_VERSION-SNAPSHOT-plugin.tar.gz $KAFKA_CONNECT_PLUGINS_DIR/debezium-db2-plugin.tar.gz 16 | 17 | ADD debezium-scripting-$DEBEZIUM_VERSION-SNAPSHOT.tar.gz $EXTERNAL_LIBS_DIR 18 | 19 | RUN for CONNECTOR in {mysql,mongodb,postgres,sqlserver,oracle,db2}; do \ 20 | tar -xzf $KAFKA_CONNECT_PLUGINS_DIR/debezium-$CONNECTOR-plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR; \ 21 | done; 22 | -------------------------------------------------------------------------------- /connect/1.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.5 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV DEBEZIUM_VERSION="1.5.4.Final" \ 6 | MAVEN_REPO_CENTRAL="" \ 7 | MAVEN_REPOS_ADDITIONAL="" \ 8 | MAVEN_DEP_DESTINATION=$KAFKA_CONNECT_PLUGINS_DIR \ 9 | MONGODB_MD5=f5a1d7ee3ea169a265ec7a758ef7d65a \ 10 | MYSQL_MD5=75bdf5b13198967309071b3404a9d334 \ 11 | POSTGRES_MD5=2488cff8b332186accac42f6fc91c7e0 \ 12 | SQLSERVER_MD5=cb0ec80909aa911508bec6a84cbb8f26 \ 13 | ORACLE_MD5=6dc6d4ce1a0d000e6666ca654f0a7607 \ 14 | DB2_MD5=df00141bb3c726ed73ffd2b7826af842 \ 15 | VITESS_MD5=5366b36f34a3fc095916e597f2c46911 \ 16 | SCRIPTING_MD5=726a92ff8ee1eaaec8dfd21980623bbe 17 | 18 | RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \ 19 | docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \ 20 | docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \ 21 | docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \ 22 | docker-maven-download debezium oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" && \ 23 | docker-maven-download debezium-additional db2 db2 "$DEBEZIUM_VERSION" "$DB2_MD5" && \ 24 | docker-maven-download debezium-additional vitess vitess "$DEBEZIUM_VERSION" "$VITESS_MD5" && \ 25 | docker-maven-download debezium-optional scripting "$DEBEZIUM_VERSION" "$SCRIPTING_MD5" 26 | -------------------------------------------------------------------------------- /connect/1.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/connect-base:1.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV DEBEZIUM_VERSION="1.6.4.Final" \ 6 | MAVEN_REPO_CENTRAL="" \ 7 | MAVEN_REPOS_ADDITIONAL="" \ 8 | MAVEN_DEP_DESTINATION=$KAFKA_CONNECT_PLUGINS_DIR \ 9 | MONGODB_MD5=16d71e14ae61b0af135d630e62e89185 \ 10 | MYSQL_MD5=4e813897de3a941771eae012752267df \ 11 | POSTGRES_MD5=037307617cf1eec5d366f7de72c38393 \ 12 | SQLSERVER_MD5=377f6cea5c839e4828ec30229cb39944 \ 13 | ORACLE_MD5=a6712f45ffed040769b0b981d7d9299e \ 14 | DB2_MD5=073d3059a34228f3feea1ffbdd867ec2 \ 15 | VITESS_MD5=d5ba24429a76bbd560d00eb5df18f4d9 \ 16 | SCRIPTING_MD5=1af07bd466953e3a58665b81a9017865 17 | 18 | RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \ 19 | docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \ 20 | docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \ 21 | docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \ 22 | docker-maven-download debezium oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" && \ 23 | docker-maven-download debezium-additional db2 db2 "$DEBEZIUM_VERSION" "$DB2_MD5" && \ 24 | docker-maven-download debezium-additional vitess vitess "$DEBEZIUM_VERSION" "$VITESS_MD5" && \ 25 | docker-maven-download debezium-optional scripting "$DEBEZIUM_VERSION" "$SCRIPTING_MD5" 26 | -------------------------------------------------------------------------------- /examples/mariadb/2.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mariadb:11.1.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mariadb/2.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/mariadb:11.1.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mariadb/3.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/mariadb:11.1.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mariadb/3.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/mariadb:11.4.3 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mariadb/3.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/mariadb:11.4.3 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mongodb/0.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/0.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/0.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.4 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/0.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/0.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/1.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/1.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/1.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/1.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/1.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/1.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/1.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/1.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:3.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | CMD ["mongod", "--replSet", "rs0", "--auth"] 9 | -------------------------------------------------------------------------------- /examples/mongodb/1.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:5.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 9 | # for intra-replica set communication 10 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 11 | chown mongodb /etc/mongodb.keyfile &&\ 12 | chmod 400 /etc/mongodb.keyfile 13 | 14 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 15 | -------------------------------------------------------------------------------- /examples/mongodb/1.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:5.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 9 | # for intra-replica set communication 10 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 11 | chown mongodb /etc/mongodb.keyfile &&\ 12 | chmod 400 /etc/mongodb.keyfile 13 | 14 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 15 | -------------------------------------------------------------------------------- /examples/mongodb/2.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:5.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 9 | # for intra-replica set communication 10 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 11 | chown mongodb /etc/mongodb.keyfile &&\ 12 | chmod 400 /etc/mongodb.keyfile 13 | 14 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 15 | -------------------------------------------------------------------------------- /examples/mongodb/2.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:5.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 9 | # for intra-replica set communication 10 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 11 | chown mongodb /etc/mongodb.keyfile &&\ 12 | chmod 400 /etc/mongodb.keyfile 13 | 14 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 15 | -------------------------------------------------------------------------------- /examples/mongodb/2.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:5.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 9 | # for intra-replica set communication 10 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 11 | chown mongodb /etc/mongodb.keyfile &&\ 12 | chmod 400 /etc/mongodb.keyfile 13 | 14 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 15 | -------------------------------------------------------------------------------- /examples/mongodb/2.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:5.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 9 | # for intra-replica set communication 10 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 11 | chown mongodb /etc/mongodb.keyfile &&\ 12 | chmod 400 /etc/mongodb.keyfile 13 | 14 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 15 | -------------------------------------------------------------------------------- /examples/mongodb/2.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:5.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | RUN chmod +x /usr/local/bin/init-inventory.sh 7 | 8 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 9 | # for intra-replica set communication 10 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 11 | chown mongodb /etc/mongodb.keyfile &&\ 12 | chmod 400 /etc/mongodb.keyfile 13 | 14 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 15 | -------------------------------------------------------------------------------- /examples/mongodb/2.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:6.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | COPY insert-inventory-data.js /usr/local/bin/ 7 | 8 | RUN chmod +x /usr/local/bin/init-inventory.sh 9 | 10 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 11 | # for intra-replica set communication 12 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 13 | chown mongodb /etc/mongodb.keyfile &&\ 14 | chmod 400 /etc/mongodb.keyfile 15 | 16 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 17 | -------------------------------------------------------------------------------- /examples/mongodb/2.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mongo:6.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | COPY insert-inventory-data.js /usr/local/bin/ 7 | 8 | RUN chmod +x /usr/local/bin/init-inventory.sh 9 | 10 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 11 | # for intra-replica set communication 12 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 13 | chown mongodb /etc/mongodb.keyfile &&\ 14 | chmod 400 /etc/mongodb.keyfile 15 | 16 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 17 | -------------------------------------------------------------------------------- /examples/mongodb/2.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/mongo:6.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY init-inventory.sh /usr/local/bin/ 6 | COPY insert-inventory-data.js /usr/local/bin/ 7 | 8 | RUN chmod +x /usr/local/bin/init-inventory.sh 9 | 10 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 11 | # for intra-replica set communication 12 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 13 | chown mongodb /etc/mongodb.keyfile &&\ 14 | chmod 400 /etc/mongodb.keyfile 15 | 16 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 17 | -------------------------------------------------------------------------------- /examples/mongodb/3.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/mongo:6.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV MONGO_INITDB_ROOT_USERNAME=admin 6 | ENV MONGO_INITDB_ROOT_PASSWORD=admin 7 | 8 | COPY init-inventory.sh /usr/local/bin/ 9 | COPY insert-inventory-data.js /usr/local/bin/ 10 | 11 | RUN chmod +x /usr/local/bin/init-inventory.sh 12 | 13 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 14 | # for intra-replica set communication 15 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 16 | chown mongodb /etc/mongodb.keyfile &&\ 17 | chmod 400 /etc/mongodb.keyfile 18 | 19 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 20 | -------------------------------------------------------------------------------- /examples/mongodb/3.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/mongo:6.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV MONGO_INITDB_ROOT_USERNAME=admin 6 | ENV MONGO_INITDB_ROOT_PASSWORD=admin 7 | 8 | COPY init-inventory.sh /usr/local/bin/ 9 | COPY insert-inventory-data.js /usr/local/bin/ 10 | 11 | RUN chmod +x /usr/local/bin/init-inventory.sh 12 | 13 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 14 | # for intra-replica set communication 15 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 16 | chown mongodb /etc/mongodb.keyfile &&\ 17 | chmod 400 /etc/mongodb.keyfile 18 | 19 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 20 | -------------------------------------------------------------------------------- /examples/mongodb/3.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/mongo:6.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | ENV MONGO_INITDB_ROOT_USERNAME=admin 6 | ENV MONGO_INITDB_ROOT_PASSWORD=admin 7 | 8 | COPY init-inventory.sh /usr/local/bin/ 9 | COPY insert-inventory-data.js /usr/local/bin/ 10 | 11 | RUN chmod +x /usr/local/bin/init-inventory.sh 12 | 13 | # Starting with MongoDB 4.4 the authentication enabled MongoDB requires a key 14 | # for intra-replica set communication 15 | RUN openssl rand -base64 756 > /etc/mongodb.keyfile &&\ 16 | chown mongodb /etc/mongodb.keyfile &&\ 17 | chmod 400 /etc/mongodb.keyfile 18 | 19 | CMD ["mongod", "--replSet", "rs0", "--auth", "--keyFile", "/etc/mongodb.keyfile"] 20 | -------------------------------------------------------------------------------- /examples/mysql-gtids/0.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/0.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/0.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/0.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/0.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/0.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/0.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/0.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/0.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/1.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql-gtids/2.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/2.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/2.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/2.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/2.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/2.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/2.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/2.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/3.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/3.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-gtids/3.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY master.cnf /etc/my.cnf 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.2/master.cnf: -------------------------------------------------------------------------------- 1 | # For advice on how to change settings please see 2 | # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html 3 | 4 | [mysqld] 5 | server-id = 1 6 | log_bin = /var/lib/mysql/mysql-bin.log 7 | binlog_do_db = inventory 8 | enforce_gtid_consistency = ON 9 | gtid_mode = ON 10 | default_authentication_plugin = mysql_native_password 11 | 12 | skip-host-cache 13 | skip-name-resolve 14 | datadir=/var/lib/mysql 15 | socket=/var/run/mysqld/mysqld.sock 16 | secure-file-priv=/var/lib/mysql-files 17 | user=mysql 18 | 19 | pid-file=/var/run/mysqld/mysqld.pid 20 | 21 | [client] 22 | socket=/var/run/mysqld/mysqld.sock 23 | 24 | !includedir /etc/mysql/conf.d/ 25 | 26 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY master.cnf /etc/my.cnf 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.3/master.cnf: -------------------------------------------------------------------------------- 1 | # For advice on how to change settings please see 2 | # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html 3 | 4 | [mysqld] 5 | server-id = 1 6 | log_bin = /var/lib/mysql/mysql-bin.log 7 | binlog_do_db = inventory 8 | enforce_gtid_consistency = ON 9 | gtid_mode = ON 10 | default_authentication_plugin = mysql_native_password 11 | 12 | skip-host-cache 13 | skip-name-resolve 14 | datadir=/var/lib/mysql 15 | socket=/var/run/mysqld/mysqld.sock 16 | secure-file-priv=/var/lib/mysql-files 17 | user=mysql 18 | 19 | pid-file=/var/run/mysqld/mysqld.pid 20 | 21 | [client] 22 | socket=/var/run/mysqld/mysqld.sock 23 | 24 | !includedir /etc/mysql/conf.d/ 25 | 26 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY master.cnf /etc/my.cnf 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.4/master.cnf: -------------------------------------------------------------------------------- 1 | # For advice on how to change settings please see 2 | # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html 3 | 4 | [mysqld] 5 | server-id = 1 6 | log_bin = /var/lib/mysql/mysql-bin.log 7 | binlog_do_db = inventory 8 | enforce_gtid_consistency = ON 9 | gtid_mode = ON 10 | default_authentication_plugin = mysql_native_password 11 | 12 | skip-host-cache 13 | skip-name-resolve 14 | datadir=/var/lib/mysql 15 | socket=/var/run/mysqld/mysqld.sock 16 | secure-file-priv=/var/lib/mysql-files 17 | user=mysql 18 | 19 | pid-file=/var/run/mysqld/mysqld.pid 20 | 21 | [client] 22 | socket=/var/run/mysqld/mysqld.sock 23 | 24 | !includedir /etc/mysql/conf.d/ 25 | 26 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY master.cnf /etc/my.cnf 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.5/master.cnf: -------------------------------------------------------------------------------- 1 | # For advice on how to change settings please see 2 | # https://dev.mysql.com/doc/refman/8.2/en/server-configuration-defaults.html 3 | 4 | [mysqld] 5 | server-id = 1 6 | log_bin = /var/lib/mysql/mysql-bin.log 7 | binlog_do_db = inventory 8 | enforce_gtid_consistency = ON 9 | gtid_mode = ON 10 | default_authentication_plugin = mysql_native_password 11 | 12 | skip-host-cache 13 | skip-name-resolve 14 | datadir=/var/lib/mysql 15 | socket=/var/run/mysqld/mysqld.sock 16 | secure-file-priv=/var/lib/mysql-files 17 | user=mysql 18 | 19 | pid-file=/var/run/mysqld/mysqld.pid 20 | 21 | [client] 22 | socket=/var/run/mysqld/mysqld.sock 23 | 24 | !includedir /etc/mysql/conf.d/ 25 | 26 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY master.cnf /etc/my.cnf 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.6/master.cnf: -------------------------------------------------------------------------------- 1 | # For advice on how to change settings please see 2 | # https://dev.mysql.com/doc/refman/8.2/en/server-configuration-defaults.html 3 | 4 | [mysqld] 5 | server-id = 1 6 | log_bin = /var/lib/mysql/mysql-bin.log 7 | binlog_do_db = inventory 8 | enforce_gtid_consistency = ON 9 | gtid_mode = ON 10 | default_authentication_plugin = mysql_native_password 11 | 12 | skip-host-cache 13 | skip-name-resolve 14 | datadir=/var/lib/mysql 15 | socket=/var/run/mysqld/mysqld.sock 16 | secure-file-priv=/var/lib/mysql-files 17 | user=mysql 18 | 19 | pid-file=/var/run/mysqld/mysqld.pid 20 | 21 | [client] 22 | socket=/var/run/mysqld/mysqld.sock 23 | 24 | !includedir /etc/mysql/conf.d/ 25 | 26 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY master.cnf /etc/my.cnf 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/2.7/master.cnf: -------------------------------------------------------------------------------- 1 | # For advice on how to change settings please see 2 | # https://dev.mysql.com/doc/refman/8.2/en/server-configuration-defaults.html 3 | 4 | [mysqld] 5 | server-id = 1 6 | log_bin = /var/lib/mysql/mysql-bin.log 7 | binlog_do_db = inventory 8 | enforce_gtid_consistency = ON 9 | gtid_mode = ON 10 | default_authentication_plugin = mysql_native_password 11 | 12 | skip-host-cache 13 | skip-name-resolve 14 | datadir=/var/lib/mysql 15 | socket=/var/run/mysqld/mysqld.sock 16 | secure-file-priv=/var/lib/mysql-files 17 | user=mysql 18 | 19 | pid-file=/var/run/mysqld/mysqld.pid 20 | 21 | [client] 22 | socket=/var/run/mysqld/mysqld.sock 23 | 24 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/3.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY master.cnf /etc/my.cnf 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/3.0/master.cnf: -------------------------------------------------------------------------------- 1 | # For advice on how to change settings please see 2 | # https://dev.mysql.com/doc/refman/8.2/en/server-configuration-defaults.html 3 | 4 | [mysqld] 5 | server-id = 1 6 | log_bin = /var/lib/mysql/mysql-bin.log 7 | binlog_do_db = inventory 8 | enforce_gtid_consistency = ON 9 | gtid_mode = ON 10 | default_authentication_plugin = mysql_native_password 11 | 12 | skip-host-cache 13 | skip-name-resolve 14 | datadir=/var/lib/mysql 15 | socket=/var/run/mysqld/mysqld.sock 16 | secure-file-priv=/var/lib/mysql-files 17 | user=mysql 18 | 19 | pid-file=/var/run/mysqld/mysqld.pid 20 | 21 | [client] 22 | socket=/var/run/mysqld/mysqld.sock 23 | 24 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/3.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY master.cnf /etc/my.cnf 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/3.1/master.cnf: -------------------------------------------------------------------------------- 1 | # For advice on how to change settings please see 2 | # https://dev.mysql.com/doc/refman/8.2/en/server-configuration-defaults.html 3 | 4 | [mysqld] 5 | server-id = 1 6 | log_bin = /var/lib/mysql/mysql-bin.log 7 | binlog_do_db = inventory 8 | enforce_gtid_consistency = ON 9 | gtid_mode = ON 10 | default_authentication_plugin = mysql_native_password 11 | 12 | skip-host-cache 13 | skip-name-resolve 14 | datadir=/var/lib/mysql 15 | socket=/var/run/mysqld/mysqld.sock 16 | secure-file-priv=/var/lib/mysql-files 17 | user=mysql 18 | 19 | pid-file=/var/run/mysqld/mysqld.pid 20 | 21 | [client] 22 | socket=/var/run/mysqld/mysqld.sock 23 | 24 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/3.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY master.cnf /etc/my.cnf 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql-replication/master/3.2/master.cnf: -------------------------------------------------------------------------------- 1 | # For advice on how to change settings please see 2 | # https://dev.mysql.com/doc/refman/8.2/en/server-configuration-defaults.html 3 | 4 | [mysqld] 5 | server-id = 1 6 | log_bin = /var/lib/mysql/mysql-bin.log 7 | binlog_do_db = inventory 8 | enforce_gtid_consistency = ON 9 | gtid_mode = ON 10 | default_authentication_plugin = mysql_native_password 11 | 12 | skip-host-cache 13 | skip-name-resolve 14 | datadir=/var/lib/mysql 15 | socket=/var/run/mysqld/mysqld.sock 16 | secure-file-priv=/var/lib/mysql-files 17 | user=mysql 18 | 19 | pid-file=/var/run/mysqld/mysqld.pid 20 | 21 | [client] 22 | socket=/var/run/mysqld/mysqld.sock 23 | 24 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY slave.cnf /etc/my.cnf 6 | COPY init.sql /docker-entrypoint-initdb.d/ 7 | 8 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.2/init.sql: -------------------------------------------------------------------------------- 1 | CHANGE REPLICATION SOURCE TO SOURCE_HOST='mysql-master',SOURCE_USER='replicator',SOURCE_PASSWORD='replpass'; 2 | CHANGE MASTER TO GET_MASTER_PUBLIC_KEY=1; 3 | START REPLICA; 4 | 5 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.2/slave.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | server-id = 2 3 | log_bin = /var/lib/mysql/mysql-bin.log 4 | relay-log = /var/lib/mysql/mysql-relay-bin.log 5 | binlog_do_db = inventory 6 | enforce_gtid_consistency = ON 7 | gtid_mode = ON 8 | 9 | skip-host-cache 10 | skip-name-resolve 11 | datadir=/var/lib/mysql 12 | socket=/var/run/mysqld/mysqld.sock 13 | secure-file-priv=/var/lib/mysql-files 14 | user=mysql 15 | 16 | pid-file=/var/run/mysqld/mysqld.pid 17 | 18 | [client] 19 | socket=/var/run/mysqld/mysqld.sock 20 | !includedir /etc/mysql/conf.d/ 21 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY slave.cnf /etc/my.cnf 6 | COPY init.sql /docker-entrypoint-initdb.d/ 7 | 8 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.3/init.sql: -------------------------------------------------------------------------------- 1 | CHANGE REPLICATION SOURCE TO SOURCE_HOST='mysql-master',SOURCE_USER='replicator',SOURCE_PASSWORD='replpass'; 2 | CHANGE MASTER TO GET_MASTER_PUBLIC_KEY=1; 3 | START REPLICA; 4 | 5 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.3/slave.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | server-id = 2 3 | log_bin = /var/lib/mysql/mysql-bin.log 4 | relay-log = /var/lib/mysql/mysql-relay-bin.log 5 | binlog_do_db = inventory 6 | enforce_gtid_consistency = ON 7 | gtid_mode = ON 8 | 9 | skip-host-cache 10 | skip-name-resolve 11 | datadir=/var/lib/mysql 12 | socket=/var/run/mysqld/mysqld.sock 13 | secure-file-priv=/var/lib/mysql-files 14 | user=mysql 15 | 16 | pid-file=/var/run/mysqld/mysqld.pid 17 | 18 | [client] 19 | socket=/var/run/mysqld/mysqld.sock 20 | !includedir /etc/mysql/conf.d/ 21 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY slave.cnf /etc/my.cnf 6 | COPY init.sql /docker-entrypoint-initdb.d/ 7 | 8 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.4/init.sql: -------------------------------------------------------------------------------- 1 | CHANGE REPLICATION SOURCE TO SOURCE_HOST='mysql-master',SOURCE_USER='replicator',SOURCE_PASSWORD='replpass'; 2 | CHANGE MASTER TO GET_MASTER_PUBLIC_KEY=1; 3 | START REPLICA; 4 | 5 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.4/slave.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | server-id = 2 3 | log_bin = /var/lib/mysql/mysql-bin.log 4 | relay-log = /var/lib/mysql/mysql-relay-bin.log 5 | binlog_do_db = inventory 6 | enforce_gtid_consistency = ON 7 | gtid_mode = ON 8 | 9 | skip-host-cache 10 | skip-name-resolve 11 | datadir=/var/lib/mysql 12 | socket=/var/run/mysqld/mysqld.sock 13 | secure-file-priv=/var/lib/mysql-files 14 | user=mysql 15 | 16 | pid-file=/var/run/mysqld/mysqld.pid 17 | 18 | [client] 19 | socket=/var/run/mysqld/mysqld.sock 20 | !includedir /etc/mysql/conf.d/ 21 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY slave.cnf /etc/my.cnf 6 | COPY init.sql /docker-entrypoint-initdb.d/ 7 | 8 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.5/init.sql: -------------------------------------------------------------------------------- 1 | CHANGE REPLICATION SOURCE TO SOURCE_HOST='mysql-master',SOURCE_USER='replicator',SOURCE_PASSWORD='replpass'; 2 | CHANGE MASTER TO GET_MASTER_PUBLIC_KEY=1; 3 | START REPLICA; 4 | 5 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.5/slave.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | server-id = 2 3 | log_bin = /var/lib/mysql/mysql-bin.log 4 | relay-log = /var/lib/mysql/mysql-relay-bin.log 5 | binlog_do_db = inventory 6 | enforce_gtid_consistency = ON 7 | gtid_mode = ON 8 | 9 | skip-host-cache 10 | skip-name-resolve 11 | datadir=/var/lib/mysql 12 | socket=/var/run/mysqld/mysqld.sock 13 | secure-file-priv=/var/lib/mysql-files 14 | user=mysql 15 | 16 | pid-file=/var/run/mysqld/mysqld.pid 17 | 18 | [client] 19 | socket=/var/run/mysqld/mysqld.sock 20 | !includedir /etc/mysql/conf.d/ 21 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY slave.cnf /etc/my.cnf 6 | COPY init.sql /docker-entrypoint-initdb.d/ 7 | 8 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.6/init.sql: -------------------------------------------------------------------------------- 1 | CHANGE REPLICATION SOURCE TO SOURCE_HOST='mysql-master',SOURCE_USER='replicator',SOURCE_PASSWORD='replpass'; 2 | CHANGE MASTER TO GET_MASTER_PUBLIC_KEY=1; 3 | START REPLICA; 4 | 5 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.6/slave.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | server-id = 2 3 | log_bin = /var/lib/mysql/mysql-bin.log 4 | relay-log = /var/lib/mysql/mysql-relay-bin.log 5 | binlog_do_db = inventory 6 | enforce_gtid_consistency = ON 7 | gtid_mode = ON 8 | 9 | skip-host-cache 10 | skip-name-resolve 11 | datadir=/var/lib/mysql 12 | socket=/var/run/mysqld/mysqld.sock 13 | secure-file-priv=/var/lib/mysql-files 14 | user=mysql 15 | 16 | pid-file=/var/run/mysqld/mysqld.pid 17 | 18 | [client] 19 | socket=/var/run/mysqld/mysqld.sock 20 | !includedir /etc/mysql/conf.d/ 21 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY slave.cnf /etc/my.cnf 6 | COPY init.sql /docker-entrypoint-initdb.d/ 7 | 8 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.7/init.sql: -------------------------------------------------------------------------------- 1 | CHANGE REPLICATION SOURCE TO SOURCE_HOST='mysql-master',SOURCE_USER='replicator',SOURCE_PASSWORD='replpass'; 2 | CHANGE MASTER TO GET_MASTER_PUBLIC_KEY=1; 3 | START REPLICA; 4 | 5 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/2.7/slave.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | server-id = 2 3 | log_bin = /var/lib/mysql/mysql-bin.log 4 | relay-log = /var/lib/mysql/mysql-relay-bin.log 5 | binlog_do_db = inventory 6 | enforce_gtid_consistency = ON 7 | gtid_mode = ON 8 | 9 | skip-host-cache 10 | skip-name-resolve 11 | datadir=/var/lib/mysql 12 | socket=/var/run/mysqld/mysqld.sock 13 | secure-file-priv=/var/lib/mysql-files 14 | user=mysql 15 | 16 | pid-file=/var/run/mysqld/mysqld.pid 17 | 18 | [client] 19 | socket=/var/run/mysqld/mysqld.sock 20 | 21 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/3.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY slave.cnf /etc/my.cnf 6 | COPY init.sql /docker-entrypoint-initdb.d/ 7 | 8 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/3.0/init.sql: -------------------------------------------------------------------------------- 1 | CHANGE REPLICATION SOURCE TO SOURCE_HOST='mysql-master',SOURCE_USER='replicator',SOURCE_PASSWORD='replpass'; 2 | CHANGE MASTER TO GET_MASTER_PUBLIC_KEY=1; 3 | START REPLICA; 4 | 5 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/3.0/slave.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | server-id = 2 3 | log_bin = /var/lib/mysql/mysql-bin.log 4 | relay-log = /var/lib/mysql/mysql-relay-bin.log 5 | binlog_do_db = inventory 6 | enforce_gtid_consistency = ON 7 | gtid_mode = ON 8 | 9 | skip-host-cache 10 | skip-name-resolve 11 | datadir=/var/lib/mysql 12 | socket=/var/run/mysqld/mysqld.sock 13 | secure-file-priv=/var/lib/mysql-files 14 | user=mysql 15 | 16 | pid-file=/var/run/mysqld/mysqld.pid 17 | 18 | [client] 19 | socket=/var/run/mysqld/mysqld.sock 20 | 21 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/3.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY slave.cnf /etc/my.cnf 6 | COPY init.sql /docker-entrypoint-initdb.d/ 7 | 8 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/3.1/init.sql: -------------------------------------------------------------------------------- 1 | CHANGE REPLICATION SOURCE TO SOURCE_HOST='mysql-master',SOURCE_USER='replicator',SOURCE_PASSWORD='replpass'; 2 | CHANGE MASTER TO GET_MASTER_PUBLIC_KEY=1; 3 | START REPLICA; 4 | 5 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/3.1/slave.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | server-id = 2 3 | log_bin = /var/lib/mysql/mysql-bin.log 4 | relay-log = /var/lib/mysql/mysql-relay-bin.log 5 | binlog_do_db = inventory 6 | enforce_gtid_consistency = ON 7 | gtid_mode = ON 8 | 9 | skip-host-cache 10 | skip-name-resolve 11 | datadir=/var/lib/mysql 12 | socket=/var/run/mysqld/mysqld.sock 13 | secure-file-priv=/var/lib/mysql-files 14 | user=mysql 15 | 16 | pid-file=/var/run/mysqld/mysqld.pid 17 | 18 | [client] 19 | socket=/var/run/mysqld/mysqld.sock 20 | 21 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/3.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | ENV MYSQL_ROOT_PASSWORD=debezium 4 | 5 | COPY slave.cnf /etc/my.cnf 6 | COPY init.sql /docker-entrypoint-initdb.d/ 7 | 8 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/3.2/init.sql: -------------------------------------------------------------------------------- 1 | CHANGE REPLICATION SOURCE TO SOURCE_HOST='mysql-master',SOURCE_USER='replicator',SOURCE_PASSWORD='replpass'; 2 | CHANGE MASTER TO GET_MASTER_PUBLIC_KEY=1; 3 | START REPLICA; 4 | 5 | -------------------------------------------------------------------------------- /examples/mysql-replication/replica/3.2/slave.cnf: -------------------------------------------------------------------------------- 1 | [mysqld] 2 | server-id = 2 3 | log_bin = /var/lib/mysql/mysql-bin.log 4 | relay-log = /var/lib/mysql/mysql-relay-bin.log 5 | binlog_do_db = inventory 6 | enforce_gtid_consistency = ON 7 | gtid_mode = ON 8 | 9 | skip-host-cache 10 | skip-name-resolve 11 | datadir=/var/lib/mysql 12 | socket=/var/run/mysqld/mysqld.sock 13 | secure-file-priv=/var/lib/mysql-files 14 | user=mysql 15 | 16 | pid-file=/var/run/mysqld/mysqld.pid 17 | 18 | [client] 19 | socket=/var/run/mysqld/mysqld.sock 20 | 21 | -------------------------------------------------------------------------------- /examples/mysql/0.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/0.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/0.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/0.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/0.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/0.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/0.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/0.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/0.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/0.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:5.7 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/1.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ -------------------------------------------------------------------------------- /examples/mysql/2.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/2.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/2.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/2.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/2.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.0 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/2.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/2.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mysql:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/2.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/3.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/3.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/mysql/3.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM container-registry.oracle.com/mysql/community-server:8.2 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY mysql.cnf /etc/mysql/conf.d/ 6 | COPY inventory.sql /docker-entrypoint-initdb.d/ 7 | -------------------------------------------------------------------------------- /examples/postgres/0.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/0.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:9.6 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/0.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:9.6 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/0.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:9.6 2 | 3 | MAINTAINER Debezium Community 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/0.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:9.6 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:14 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/1.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:14 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/2.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debezium/postgres:15 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | COPY inventory.sql /docker-entrypoint-initdb.d/ 6 | -------------------------------------------------------------------------------- /examples/postgres/2.1/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:15 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /examples/postgres/2.2/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:15 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /examples/postgres/2.3/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:15 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /examples/postgres/2.4/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:16 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /examples/postgres/2.5/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:16 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /examples/postgres/2.6/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:16 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /examples/postgres/2.7/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:16 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /examples/postgres/3.0/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:16 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /examples/postgres/3.1/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:16 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /examples/postgres/3.2/Dockerfile: -------------------------------------------------------------------------------- 1 | # When changed, update also build-all-multiplatform.sh to make 2 | # sure give debezim/postgres version is built also for ARM. 3 | FROM quay.io/debezium/postgres:16 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | COPY inventory.sql /docker-entrypoint-initdb.d/ 8 | -------------------------------------------------------------------------------- /image-sync/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM registry.fedoraproject.org/fedora-minimal:31 2 | 3 | RUN microdnf -y update && microdnf -y install skopeo jq && microdnf clean all 4 | 5 | COPY sync.sh sync.sh 6 | RUN chmod 755 sync.sh 7 | 8 | CMD ./sync.sh 9 | -------------------------------------------------------------------------------- /image-sync/README.md: -------------------------------------------------------------------------------- 1 | # Image Syncer 2 | 3 | [Debezium](https://debezium.io/) builds its images automatically in [Docker Hub](https://hub.docker.com/u/debezium). 4 | This image serves for syncing the images into [Quay](https://quay.io/organization/debezium) Docker registry. 5 | 6 | How to run 7 | ``` 8 | docker run -it -e DEST_CREDENTIALS='USER:PASSWORD' quay.io/debezium/sync-images 9 | ``` 10 | -------------------------------------------------------------------------------- /image-sync/sync.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | SRC_REGISTRY='debezium' 4 | DEST_REGISTRY='quay.io/debezium' 5 | 6 | IMAGES='zookeeper kafka connect-base connect postgres mongo-initiator example-mysql example-mysql-gtids example-postgres example-mongodb' 7 | 8 | for IMAGE in $IMAGES; do 9 | TAGS="$(skopeo inspect docker://debezium/$IMAGE | jq -r .RepoTags[])" 10 | for TAG in $TAGS; do 11 | echo '---------------------------' 12 | echo Synchronizing $IMAGE:$TAG 13 | skopeo copy --dest-creds "$DEST_CREDENTIALS" docker://$SRC_REGISTRY/$IMAGE:$TAG docker://quay.io/debezium/$IMAGE:$TAG 14 | echo '---------------------------' 15 | done 16 | done 17 | -------------------------------------------------------------------------------- /local-registry/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | registry: 4 | image: mirror.gcr.io/registry:2 5 | ports: 6 | - '5500:5000' 7 | browser: 8 | image: mirror.gcr.io/klausmeyer/docker-registry-browser:latest 9 | environment: 10 | - 'DOCKER_REGISTRY_URL=http://registry:5000' 11 | ports: 12 | - '5580:8080' 13 | -------------------------------------------------------------------------------- /operator/snapshot/.gitignore: -------------------------------------------------------------------------------- 1 | debezium-operator-dist*.tar.gz -------------------------------------------------------------------------------- /oracle/19.3.0/cdb/Dockerfile.ee: -------------------------------------------------------------------------------- 1 | # Oracle distributes a single image for both Enterprise and Standard editions. 2 | # We toggle which installation gets linked and used by setting ORACLE_EDITION below. 3 | FROM container-registry.oracle.com/database/enterprise:19.3.0.0 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | ENV ORACLE_SID=ORCLCDB \ 8 | ORACLE_PDB=ORCLPDB1 \ 9 | ORACLE_PWD=top_secret \ 10 | ORACLE_EDITION=enterprise \ 11 | ENABLE_ARCHIVELOG=true \ 12 | DEBEZIUM_CDB=true 13 | 14 | COPY --chown=54321 scripts/setup/00-debezium-install.sh /opt/oracle/scripts/setup 15 | COPY --chown=54321 scripts/startup/00-debezium-restart-capture-instances.sh /opt/oracle/scripts/startup 16 | 17 | USER oracle 18 | -------------------------------------------------------------------------------- /oracle/19.3.0/cdb/Dockerfile.se: -------------------------------------------------------------------------------- 1 | # Oracle distributes a single image for both Enterprise and Standard editions. 2 | # We toggle which installation gets linked and used by setting ORACLE_EDITION below. 3 | FROM container-registry.oracle.com/database/enterprise:19.3.0.0 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | ENV ORACLE_SID=ORCLCDB \ 8 | ORACLE_PDB=ORCLPDB1 \ 9 | ORACLE_PWD=top_secret \ 10 | ORACLE_EDITION=standard \ 11 | ENABLE_ARCHIVELOG=true \ 12 | DEBEZIUM_CDB=true 13 | 14 | COPY --chown=54321 scripts/setup/00-debezium-install.sh /opt/oracle/scripts/setup 15 | COPY --chown=54321 scripts/startup/00-debezium-restart-capture-instances.sh /opt/oracle/scripts/startup 16 | 17 | USER oracle 18 | -------------------------------------------------------------------------------- /oracle/21.3.0/cdb/Dockerfile.ee: -------------------------------------------------------------------------------- 1 | # Oracle distributes a single image for both Enterprise and Standard editions. 2 | # We toggle which installation gets linked and used by setting ORACLE_EDITION below. 3 | FROM container-registry.oracle.com/database/enterprise:21.3.0.0 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | ENV ORACLE_SID=ORCLCDB \ 8 | ORACLE_PDB=ORCLPDB1 \ 9 | ORACLE_PWD=top_secret \ 10 | ORACLE_EDITION=enterprise \ 11 | ENABLE_ARCHIVELOG=true \ 12 | DEBEZIUM_CDB=true 13 | 14 | COPY --chown=54321 scripts/setup/00-debezium-install.sh /opt/oracle/scripts/setup 15 | COPY --chown=54321 scripts/startup/00-debezium-restart-capture-instances.sh /opt/oracle/scripts/startup 16 | 17 | USER oracle 18 | -------------------------------------------------------------------------------- /oracle/21.3.0/cdb/Dockerfile.se: -------------------------------------------------------------------------------- 1 | # Oracle distributes a single image for both Enterprise and Standard editions. 2 | # We toggle which installation gets linked and used by setting ORACLE_EDITION below. 3 | FROM container-registry.oracle.com/database/enterprise:21.3.0.0 4 | 5 | LABEL maintainer="Debezium Community" 6 | 7 | ENV ORACLE_SID=ORCLCDB \ 8 | ORACLE_PDB=ORCLPDB1 \ 9 | ORACLE_PWD=top_secret \ 10 | ORACLE_EDITION=standard \ 11 | ENABLE_ARCHIVELOG=true \ 12 | DEBEZIUM_CDB=true 13 | 14 | COPY --chown=54321 scripts/setup/00-debezium-install.sh /opt/oracle/scripts/setup 15 | COPY --chown=54321 scripts/startup/00-debezium-restart-capture-instances.sh /opt/oracle/scripts/startup 16 | 17 | USER oracle 18 | -------------------------------------------------------------------------------- /oracle/scripts/startup/00-debezium-restart-capture-instances.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Oracle root system user credentials 4 | SYS_USER='sys' 5 | SYS_PASSWORD='top_secret' 6 | 7 | if [ -z "$ORACLE_SID" ]; then 8 | ORACLE_SID=ORCLCDB 9 | export ORACLE_SID 10 | fi 11 | 12 | # The DEBEZIUM_ADAPTER is set by the container environment when container is created 13 | INSTALL_ADAPTER="${DEBEZIUM_ADAPTER:-logminer}" 14 | 15 | # For the XStream adapter, the capture process needs to be restarted. 16 | # This will query the capture instance information and restart it when the database is started. 17 | if [ "${INSTALL_ADAPTER,,}" == "xstream" ]; then 18 | sqlplus /nolog <<- EOF 19 | CONNECT ${SYS_USER}/${SYS_PASSWORD} AS SYSDBA 20 | DECLARE 21 | CURSOR c_captures IS 22 | SELECT CAPTURE_NAME FROM DBA_CAPTURE WHERE STATUS = 'DISABLED'; 23 | BEGIN 24 | FOR r_captures IN c_captures 25 | LOOP 26 | dbms_capture_adm.start_capture(capture_name => r_captures.CAPTURE_NAME); 27 | END LOOP; 28 | END; 29 | / 30 | EXIT; 31 | EOF 32 | echo "Started XStream capture process." 33 | fi -------------------------------------------------------------------------------- /postgres/12-alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/postgres:12-alpine 2 | 3 | LABEL maintainer="Debezium Community" 4 | ENV PLUGIN_VERSION=v3.1.2.Final 5 | 6 | ENV WAL2JSON_COMMIT_ID=92b33c7d7c2fccbeb9f79455dafbc92e87e00ddd 7 | 8 | RUN apk add --no-cache protobuf-c-dev 9 | 10 | # Compile the plugins from sources and install 11 | RUN apk add --no-cache --virtual .debezium-build-deps gcc clang19 llvm19 git make musl-dev pkgconf \ 12 | && git clone https://github.com/debezium/postgres-decoderbufs -b $PLUGIN_VERSION --single-branch \ 13 | && (cd /postgres-decoderbufs && make && make install) \ 14 | && rm -rf postgres-decoderbufs \ 15 | && git clone https://github.com/eulerto/wal2json -b master --single-branch \ 16 | && (cd /wal2json && git checkout $WAL2JSON_COMMIT_ID && make && make install) \ 17 | && rm -rf wal2json \ 18 | && apk del .debezium-build-deps 19 | 20 | # Copy the custom configuration which will be passed down to the server (using a .sample file is the preferred way of doing it by 21 | # the base Docker image) 22 | COPY postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample 23 | 24 | # Copy the script which will initialize the replication permissions 25 | COPY /docker-entrypoint-initdb.d /docker-entrypoint-initdb.d 26 | -------------------------------------------------------------------------------- /postgres/12-alpine/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/12-alpine/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs,wal2json' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/12/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/12/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs,wal2json' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/13-alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/postgres:13-alpine 2 | 3 | LABEL maintainer="Debezium Community" 4 | ENV PLUGIN_VERSION=v3.1.2.Final 5 | 6 | ENV WAL2JSON_COMMIT_ID=wal2json_2_3 7 | 8 | RUN apk add --no-cache protobuf-c-dev 9 | 10 | # Compile the plugins from sources and install 11 | RUN apk add --no-cache --virtual .debezium-build-deps gcc clang19 llvm19 git make musl-dev pkgconf \ 12 | && git clone https://github.com/debezium/postgres-decoderbufs -b $PLUGIN_VERSION --single-branch \ 13 | && (cd /postgres-decoderbufs && make && make install) \ 14 | && rm -rf postgres-decoderbufs \ 15 | && git clone https://github.com/eulerto/wal2json -b master --single-branch \ 16 | && (cd /wal2json && git checkout $WAL2JSON_COMMIT_ID && make && make install) \ 17 | && rm -rf wal2json \ 18 | && apk del .debezium-build-deps 19 | 20 | # Copy the custom configuration which will be passed down to the server (using a .sample file is the preferred way of doing it by 21 | # the base Docker image) 22 | COPY postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample 23 | 24 | # Copy the script which will initialize the replication permissions 25 | COPY /docker-entrypoint-initdb.d /docker-entrypoint-initdb.d 26 | -------------------------------------------------------------------------------- /postgres/13-alpine/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/13-alpine/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs,wal2json' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/13/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/13/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs,wal2json' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/14-alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/postgres:14-alpine 2 | 3 | LABEL maintainer="Debezium Community" 4 | ENV PLUGIN_VERSION=v3.1.2.Final 5 | 6 | ENV WAL2JSON_COMMIT_ID=wal2json_2_3 7 | 8 | RUN apk add --no-cache protobuf-c-dev 9 | 10 | # Compile the plugins from sources and install 11 | RUN apk add --no-cache --virtual .debezium-build-deps gcc clang19 llvm19 git make musl-dev pkgconf \ 12 | && git clone https://github.com/debezium/postgres-decoderbufs -b $PLUGIN_VERSION --single-branch \ 13 | && (cd /postgres-decoderbufs && make && make install) \ 14 | && rm -rf postgres-decoderbufs \ 15 | && git clone https://github.com/eulerto/wal2json -b master --single-branch \ 16 | && (cd /wal2json && git checkout $WAL2JSON_COMMIT_ID && make && make install) \ 17 | && rm -rf wal2json \ 18 | && apk del .debezium-build-deps 19 | 20 | # Copy the custom configuration which will be passed down to the server (using a .sample file is the preferred way of doing it by 21 | # the base Docker image) 22 | COPY postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample 23 | 24 | # Copy the script which will initialize the replication permissions 25 | COPY /docker-entrypoint-initdb.d /docker-entrypoint-initdb.d 26 | -------------------------------------------------------------------------------- /postgres/14-alpine/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/14-alpine/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs,wal2json' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/14/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/14/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs,wal2json' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/15-alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/postgres:15-alpine 2 | 3 | LABEL maintainer="Debezium Community" 4 | ENV PLUGIN_VERSION=v3.1.2.Final 5 | 6 | RUN apk add --no-cache protobuf-c-dev 7 | 8 | # Compile the plugins from sources and install 9 | RUN apk add --no-cache --virtual .debezium-build-deps gcc clang19 llvm19 git make musl-dev pkgconf \ 10 | && git clone https://github.com/debezium/postgres-decoderbufs -b $PLUGIN_VERSION --single-branch \ 11 | && (cd /postgres-decoderbufs && make && make install) \ 12 | && rm -rf postgres-decoderbufs \ 13 | && apk del .debezium-build-deps 14 | 15 | # Copy the custom configuration which will be passed down to the server (using a .sample file is the preferred way of doing it by 16 | # the base Docker image) 17 | COPY postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample 18 | 19 | # Copy the script which will initialize the replication permissions 20 | COPY /docker-entrypoint-initdb.d /docker-entrypoint-initdb.d 21 | -------------------------------------------------------------------------------- /postgres/15-alpine/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/15-alpine/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/15/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/15/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/16-alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/postgres:16-alpine 2 | 3 | LABEL maintainer="Debezium Community" 4 | ENV PLUGIN_VERSION=v3.1.2.Final 5 | 6 | RUN apk add --no-cache protobuf-c-dev 7 | 8 | # Compile the plugins from sources and install 9 | RUN apk add --no-cache --virtual .debezium-build-deps gcc clang19 llvm19 git make musl-dev pkgconf \ 10 | && git clone https://github.com/debezium/postgres-decoderbufs -b $PLUGIN_VERSION --single-branch \ 11 | && (cd /postgres-decoderbufs && make && make install) \ 12 | && rm -rf postgres-decoderbufs \ 13 | && apk del .debezium-build-deps 14 | 15 | # Copy the custom configuration which will be passed down to the server (using a .sample file is the preferred way of doing it by 16 | # the base Docker image) 17 | COPY postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample 18 | 19 | # Copy the script which will initialize the replication permissions 20 | COPY /docker-entrypoint-initdb.d /docker-entrypoint-initdb.d 21 | -------------------------------------------------------------------------------- /postgres/16-alpine/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/16-alpine/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/16/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/16/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/17-alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM mirror.gcr.io/library/postgres:17-alpine 2 | 3 | LABEL maintainer="Debezium Community" 4 | ENV PLUGIN_VERSION=main 5 | 6 | RUN apk add --no-cache protobuf-c-dev 7 | 8 | # Compile the plugins from sources and install 9 | RUN apk add --no-cache --virtual .debezium-build-deps gcc clang19 llvm19 git make musl-dev pkgconf \ 10 | && git clone https://github.com/debezium/postgres-decoderbufs -b $PLUGIN_VERSION --single-branch \ 11 | && (cd /postgres-decoderbufs && make && make install) \ 12 | && rm -rf postgres-decoderbufs \ 13 | && apk del .debezium-build-deps 14 | 15 | # Copy the custom configuration which will be passed down to the server (using a .sample file is the preferred way of doing it by 16 | # the base Docker image) 17 | COPY postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample 18 | 19 | # Copy the script which will initialize the replication permissions 20 | COPY /docker-entrypoint-initdb.d /docker-entrypoint-initdb.d 21 | -------------------------------------------------------------------------------- /postgres/17-alpine/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/17-alpine/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /postgres/17/docker-entrypoint-initdb.d/init-permissions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | { echo "host replication $POSTGRES_USER 0.0.0.0/0 trust"; } >> "$PGDATA/pg_hba.conf" -------------------------------------------------------------------------------- /postgres/17/postgresql.conf.sample: -------------------------------------------------------------------------------- 1 | # LOGGING 2 | # log_min_error_statement = fatal 3 | # log_min_messages = DEBUG1 4 | 5 | # CONNECTION 6 | listen_addresses = '*' 7 | 8 | # MODULES 9 | shared_preload_libraries = 'decoderbufs' 10 | 11 | # REPLICATION 12 | wal_level = logical # minimal, archive, hot_standby, or logical (change requires restart) 13 | max_wal_senders = 4 # max number of walsender processes (change requires restart) 14 | #wal_keep_segments = 4 # in logfile segments, 16MB each; 0 disables 15 | #wal_sender_timeout = 60s # in milliseconds; 0 disables 16 | max_replication_slots = 4 # max number of replication slots (change requires restart) 17 | -------------------------------------------------------------------------------- /server/2.2/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM registry.access.redhat.com/ubi8/openjdk-11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | # 6 | # Set the version, home directory, and MD5 hash. 7 | # 8 | ENV SERVER_HOME=/debezium 9 | 10 | # 11 | # Create a directory for Debezium Server 12 | # 13 | USER root 14 | RUN microdnf -y install gzip && \ 15 | microdnf clean all && \ 16 | mkdir $SERVER_HOME && \ 17 | chmod 755 $SERVER_HOME 18 | 19 | # 20 | # Change ownership and switch user 21 | # 22 | RUN chown -R jboss $SERVER_HOME && \ 23 | chgrp -R jboss $SERVER_HOME 24 | USER jboss 25 | 26 | RUN mkdir $SERVER_HOME/conf && \ 27 | mkdir $SERVER_HOME/data 28 | 29 | # 30 | # Download and install Debezium Server 31 | # 32 | COPY debezium-server-dist-2.2.0-SNAPSHOT.tar.gz /tmp/debezium.tar.gz 33 | 34 | # 35 | # Verify the contents and then install ... 36 | # 37 | RUN tar xzf /tmp/debezium.tar.gz -C $SERVER_HOME --strip-components 1 38 | 39 | # 40 | # Allow random UID to use Debezium Server 41 | # 42 | RUN chmod -R g+w,o+w $SERVER_HOME 43 | 44 | # Set the working directory to the Debezium Server home directory 45 | WORKDIR $SERVER_HOME 46 | 47 | # 48 | # Expose the ports and set up volumes for the data, transaction log, and configuration 49 | # 50 | EXPOSE 8080 51 | VOLUME ["/debezium/conf","/debezium/data"] 52 | 53 | CMD ["/debezium/run.sh"] 54 | -------------------------------------------------------------------------------- /server/2.3/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM registry.access.redhat.com/ubi8/openjdk-11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | # 6 | # Set the version, home directory, and MD5 hash. 7 | # 8 | ENV SERVER_HOME=/debezium 9 | 10 | # 11 | # Create a directory for Debezium Server 12 | # 13 | USER root 14 | RUN microdnf -y install gzip && \ 15 | microdnf clean all && \ 16 | mkdir $SERVER_HOME && \ 17 | chmod 755 $SERVER_HOME 18 | 19 | # 20 | # Change ownership and switch user 21 | # 22 | RUN chown -R jboss $SERVER_HOME && \ 23 | chgrp -R jboss $SERVER_HOME 24 | USER jboss 25 | 26 | RUN mkdir $SERVER_HOME/conf && \ 27 | mkdir $SERVER_HOME/data 28 | 29 | # 30 | # Download and install Debezium Server 31 | # 32 | COPY debezium-server-dist-2.2.0-SNAPSHOT.tar.gz /tmp/debezium.tar.gz 33 | 34 | # 35 | # Verify the contents and then install ... 36 | # 37 | RUN tar xzf /tmp/debezium.tar.gz -C $SERVER_HOME --strip-components 1 38 | 39 | # 40 | # Allow random UID to use Debezium Server 41 | # 42 | RUN chmod -R g+w,o+w $SERVER_HOME 43 | 44 | # Set the working directory to the Debezium Server home directory 45 | WORKDIR $SERVER_HOME 46 | 47 | # 48 | # Expose the ports and set up volumes for the data, transaction log, and configuration 49 | # 50 | EXPOSE 8080 51 | VOLUME ["/debezium/conf","/debezium/data"] 52 | 53 | CMD ["/debezium/run.sh"] 54 | -------------------------------------------------------------------------------- /server/2.4/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM registry.access.redhat.com/ubi8/openjdk-11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | # 6 | # Set the version, home directory, and MD5 hash. 7 | # 8 | ENV SERVER_HOME=/debezium 9 | 10 | # 11 | # Create a directory for Debezium Server 12 | # 13 | USER root 14 | RUN microdnf -y install gzip && \ 15 | microdnf clean all && \ 16 | mkdir $SERVER_HOME && \ 17 | chmod 755 $SERVER_HOME 18 | 19 | # 20 | # Change ownership and switch user 21 | # 22 | RUN chown -R jboss $SERVER_HOME && \ 23 | chgrp -R jboss $SERVER_HOME 24 | USER jboss 25 | 26 | RUN mkdir $SERVER_HOME/conf && \ 27 | mkdir $SERVER_HOME/data 28 | 29 | # 30 | # Download and install Debezium Server 31 | # 32 | COPY debezium-server-dist-2.2.0-SNAPSHOT.tar.gz /tmp/debezium.tar.gz 33 | 34 | # 35 | # Verify the contents and then install ... 36 | # 37 | RUN tar xzf /tmp/debezium.tar.gz -C $SERVER_HOME --strip-components 1 38 | 39 | # 40 | # Allow random UID to use Debezium Server 41 | # 42 | RUN chmod -R g+w,o+w $SERVER_HOME 43 | 44 | # Set the working directory to the Debezium Server home directory 45 | WORKDIR $SERVER_HOME 46 | 47 | # 48 | # Expose the ports and set up volumes for the data, transaction log, and configuration 49 | # 50 | EXPOSE 8080 51 | VOLUME ["/debezium/conf","/debezium/data"] 52 | 53 | CMD ["/debezium/run.sh"] 54 | -------------------------------------------------------------------------------- /server/2.5/Dockerfile.local: -------------------------------------------------------------------------------- 1 | FROM registry.access.redhat.com/ubi8/openjdk-11 2 | 3 | LABEL maintainer="Debezium Community" 4 | 5 | # 6 | # Set the version, home directory, and MD5 hash. 7 | # 8 | ENV SERVER_HOME=/debezium 9 | 10 | # 11 | # Create a directory for Debezium Server 12 | # 13 | USER root 14 | RUN microdnf -y install gzip && \ 15 | microdnf clean all && \ 16 | mkdir $SERVER_HOME && \ 17 | chmod 755 $SERVER_HOME 18 | 19 | # 20 | # Change ownership and switch user 21 | # 22 | RUN chown -R jboss $SERVER_HOME && \ 23 | chgrp -R jboss $SERVER_HOME 24 | USER jboss 25 | 26 | RUN mkdir $SERVER_HOME/conf && \ 27 | mkdir $SERVER_HOME/data 28 | 29 | # 30 | # Download and install Debezium Server 31 | # 32 | COPY debezium-server-dist-2.2.0-SNAPSHOT.tar.gz /tmp/debezium.tar.gz 33 | 34 | # 35 | # Verify the contents and then install ... 36 | # 37 | RUN tar xzf /tmp/debezium.tar.gz -C $SERVER_HOME --strip-components 1 38 | 39 | # 40 | # Allow random UID to use Debezium Server 41 | # 42 | RUN chmod -R g+w,o+w $SERVER_HOME 43 | 44 | # Set the working directory to the Debezium Server home directory 45 | WORKDIR $SERVER_HOME 46 | 47 | # 48 | # Expose the ports and set up volumes for the data, transaction log, and configuration 49 | # 50 | EXPOSE 8080 51 | VOLUME ["/debezium/conf","/debezium/data"] 52 | 53 | CMD ["/debezium/run.sh"] 54 | -------------------------------------------------------------------------------- /setup-local-builder.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ## Create a buildx builder for local tests builds 4 | # 5 | # It requires a local registry running on port 5500 6 | # Run the registry: 7 | # docker run -d -p 5500:5000 --restart=always --name registry registry:2 8 | # Set DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME variable: 9 | # export DEBEZIUM_DOCKER_REGISTRY_SECONDARY_NAME=localhost:5500/debeziumquay 10 | # 11 | # 12 | # Source: https://stackoverflow.com/a/73641001/6134498 13 | name=debezium-container-builder 14 | 15 | docker buildx ls | grep -q $name && docker buildx rm $name 16 | docker buildx create --driver-opt network=host --driver-opt image=mirror.gcr.io/moby/buildkit --use --name $name 17 | -------------------------------------------------------------------------------- /tooling/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM registry.fedoraproject.org/fedora:40 AS kcctl 2 | 3 | ENV KCCTL_VERSION=v1.0.0.CR4 \ 4 | JAVA_HOME=/usr/lib/jvm/java-21-openjdk/ 5 | 6 | RUN dnf -y install git java-21-openjdk-devel && \ 7 | git clone https://github.com/kcctl/kcctl.git -b $KCCTL_VERSION --depth 1 && \ 8 | cd kcctl && ./mvnw clean install -DskipTests && \ 9 | cp -r ./target/quarkus-app /usr/bin/kcctl 10 | 11 | FROM registry.fedoraproject.org/fedora:40 12 | 13 | LABEL maintainer="Debezium Community" 14 | 15 | RUN mkdir licenses 16 | COPY LICENSE* /licenses/ 17 | ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk/ 18 | 19 | RUN dnf -y install java-21-openjdk-devel less jq httpie mycli pgcli kcat && \ 20 | dnf clean all && \ 21 | ln -s /usr/bin/kcat /usr/bin/kafkacat 22 | 23 | COPY --from=kcctl /usr/bin/kcctl /usr/bin/kcctl-dir 24 | RUN echo -e '#!/bin/bash\njava -jar /usr/bin/kcctl-dir/quarkus-run.jar' > /usr/bin/kcctl && \ 25 | chmod +x /usr/bin/kcctl 26 | -------------------------------------------------------------------------------- /tooling/README.md: -------------------------------------------------------------------------------- 1 | # Debezium Tooling 2 | 3 | This is a Fedora-based container image used for Debezium examples and demonstrations. 4 | The image contains useful tools to work with Debezium, Apache Kafka and Kafka Connect. 5 | The following tools are contained: 6 | 7 | * kafkacat (https://github.com/edenhill/kafkacat) 8 | * jq (https://github.com/stedolan/jq) 9 | * httpie (https://github.com/jakubroztocil/httpie) 10 | * mycli (https://github.com/dbcli/mycli) 11 | * pgcli (https://github.com/dbcli/pgcli) 12 | * kcctl (https://github.com/kcctl/kcctl) 13 | 14 | The image could be used as a standalone container, part of Docker Compose deployment or can run inside an OpenShift deployment. 15 | 16 | ## License 17 | 18 | The tools contained in this images are distributed under their original licenses. 19 | See _LICENSE\_\.txt_ in this directory for the specific license text applying to each of the tools. 20 | -------------------------------------------------------------------------------- /vulnerability-scan/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM fedora:31 2 | 3 | COPY SRCCLR.repo /etc/yum.repos.d/ 4 | COPY agent.yml /root/.srcclr/agent.yml 5 | 6 | RUN chmod 600 $HOME/.srcclr/agent.yml 7 | RUN dnf -y update && dnf -y install srcclr git maven && dnf -y clean all 8 | RUN git clone https://github.com/project-ncl/sourceclear-invoker.git &&\ 9 | cd sourceclear-invoker &&\ 10 | mvn clean install -DskipTests 11 | 12 | COPY run.sh /root/run.sh 13 | RUN chmod 755 $HOME/run.sh 14 | WORKDIR /sourceclear-invoker 15 | ENTRYPOINT ["/root/run.sh"] 16 | -------------------------------------------------------------------------------- /vulnerability-scan/SRCCLR.repo: -------------------------------------------------------------------------------- 1 | [SourceClear] 2 | name=SourceClear 3 | baseurl=https://download.sourceclear.com/redhat/x86_64/ 4 | enabled=1 5 | gpgcheck=1 6 | gpgkey=https://download.sourceclear.com/redhat/SRCCLR-GPG-KEY 7 | -------------------------------------------------------------------------------- /vulnerability-scan/agent.yml: -------------------------------------------------------------------------------- 1 | # this setting contains the Bearer token used to authenticate SourceClear API calls 2 | agentAuthorization: ##TOKEN## 3 | 4 | ### ======================================== 5 | ### Agent to Source Code Management Settings 6 | ### ======================================== 7 | ### these settings alter the way in which the Agent will interact with your SCM 8 | ### not all values are required, but some combinations of them might be 9 | 10 | scmType: GIT 11 | 12 | # a GitHub or GitHub Enterprise API personal access token which may also be used to clone private repos 13 | ## scmToken: 14 | # the endpoint used to communicate with the SCM API 15 | # not required for GitHub, required for all others 16 | ## scmUrl: 17 | # these next two are to authenticate to the "scmUrl" above 18 | ## scmUsername: 19 | ## scmPassword: 20 | 21 | # a boolean which determines whether the agent will attempt to check for the latest version 22 | ## skipVersionCheck: 23 | 24 | 25 | -------------------------------------------------------------------------------- /vulnerability-scan/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sed -i -e s/##TOKEN##/$SRCCLR_TOKEN/ $HOME/.srcclr/agent.yml 4 | 5 | TYPE="$1" 6 | URLS="$2" 7 | PRODUCT_VERSION="$3" 8 | SOURCE_REF="$4" 9 | 10 | if [ "$1" = "cli" ]; then 11 | shift 12 | $@ 13 | else 14 | for URL in $URLS; do 15 | mvn -Dmaven.buildNumber.skip=true -Pjenkins test "-DargLine=-Dsourceclear=\"--product-version=$PRODUCT_VERSION -p=debezium $TYPE --url=$URL --ref=$SOURCE_REF\"" 16 | done 17 | fi 18 | -------------------------------------------------------------------------------- /zookeeper/0.1/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/0.10/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/0.2/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/0.3/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/0.4/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/0.5/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/0.6/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/0.7/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/0.8/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/0.9/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.0/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.1/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.2/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.3/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.4/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.5/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.6/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.7/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.8/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/1.9/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 -------------------------------------------------------------------------------- /zookeeper/2.0/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/2.1/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/2.2/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/2.3/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/2.4/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/2.5/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/2.6/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/2.7/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/3.0/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/3.1/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | -------------------------------------------------------------------------------- /zookeeper/3.2/zoo.cfg: -------------------------------------------------------------------------------- 1 | # The number of milliseconds of each tick 2 | tickTime=2000 3 | 4 | # The number of ticks that the initial 5 | # synchronization phase can take 6 | initLimit=10 7 | 8 | # The number of ticks that can pass between 9 | # sending a request and getting an acknowledgement 10 | syncLimit=5 11 | 12 | # the directory where the snapshot is stored. 13 | dataDir=/zookeeper/data 14 | 15 | # This option will direct the machine to write the transaction log to the 'dataLogDir' rather 16 | # than the 'dataDir'. This allows a dedicated log device to be used, and helps avoid 17 | # competition between transaction logging and data snaphots. 18 | dataLogDir=/zookeeper/txns 19 | 20 | # the port at which the clients will connect 21 | clientPort=2181 22 | 23 | # the maximum number of client connections. 24 | # increase this if you need to handle more clients 25 | #maxClientCnxns=60 26 | 27 | # 28 | # Be sure to read the maintenance section of the 29 | # administrator guide before turning on autopurge. 30 | # 31 | # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance 32 | # 33 | # The number of snapshots to retain in dataDir 34 | autopurge.snapRetainCount=3 35 | # Purge task interval in hours 36 | # Set to "0" to disable auto purge feature 37 | autopurge.purgeInterval=1 38 | --------------------------------------------------------------------------------