Skip to content

Commit 2157c85

Browse files
committed
feat(debezium): specify volumes for data persistency
1 parent 4e46004 commit 2157c85

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,18 @@ This project is deployed in accordance to the [DargStack template](https://githu
258258

259259
The reverse proxy's certificate data.
260260

261+
- ### `debezium_kafka_configuration`
262+
263+
The change data capture's configuration.
264+
265+
- ### `debezium_kafka_data`
266+
267+
The change data capture's data.
268+
269+
- ### `debezium_kafka_logs`
270+
271+
The change data capture's logs.
272+
261273
- ### `grafana_data`
262274

263275
The observation dashboard's data.

src/development/stack.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ services:
119119
# retries: 3
120120
# start_period: 20s
121121
image: quay.io/debezium/connect:3.2
122+
volumes:
123+
- debezium_kafka_configuration:/kafka/config
124+
- debezium_kafka_data:/kafka/data
125+
- debezium_kafka_logs:/kafka/logs
122126
debezium-postgres-connector:
123127
# You can check the database connector's setup logs using `portainer`.
124128
command: /entrypoint.sh
@@ -483,6 +487,15 @@ services:
483487
- ./configurations/postgraphile/jwtRS256.key.pub:/run/environment-variables/NUXT_PUBLIC_VIO_AUTH_JWT_PUBLIC_KEY:ro
484488
version: "3.7"
485489
volumes:
490+
debezium_kafka_configuration:
491+
# The change data capture's configuration.
492+
{}
493+
debezium_kafka_data:
494+
# The change data capture's data.
495+
{}
496+
debezium_kafka_logs:
497+
# The change data capture's logs.
498+
{}
486499
grafana_data:
487500
# The observation dashboard's data.
488501
{}

0 commit comments

Comments
 (0)