Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.58 KB

File metadata and controls

28 lines (15 loc) · 1.58 KB

This module uses the debezium/postgres:9.6 Docker image maintained by the Debezium team. This image uses a default PostgreSQL 9.6 image on top of which it installs the Debezium Logical Decoding plugin which is required in order to be able to receive database events.

Using the PostgreSQL Server

As mentioned in the README.md file, our Maven build can be used to start a container using either one of these images. The debezium/postgres:9.6 image is used:

$ mvn docker:start

The command leaves the container running so that you can use the running PostgreSQL server.

To stop and remove the container, simply use the following commands:

$ mvn docker:stop

Using Docker directly

Although using the Maven command is far simpler, the Maven command really just runs a Docker command to start the container, so it's equivalent to:

$ docker run -it -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres debezium/postgres:9.6 postgres

This will use the debezium/postgres:9.6 image to start a new container where the PostgreSQL instance uses the settings from the docker image

Release Process

mvn release:clean
mvn release:prepare -DignoreSnapshots=True -Darguments="-DskipTests -DskipITs -Dmaven.javadoc.skip=true"
mvn release:perform -DignoreSnapshots=True -Darguments="-DskipTests -DskipITs -Dmaven.javadoc.skip=true"