summaryrefslogtreecommitdiffstats
path: root/docker-compose/README.md
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2021-05-27 23:16:32 -0400
committerRenu Kumari <renu.kumari@bell.ca>2021-07-07 06:54:13 -0400
commitff52b94907002d2d2910567e1ad5f55e66008eb8 (patch)
treeb53ea7cf4587ec84db6db77b0d23f23327e538ad /docker-compose/README.md
parent6658f50ddbfbd13469f24aefc8a6002d8807a7eb (diff)
Sending Data Updated Event to kafka
Issue-ID: CPS-374 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I05fedcace42b84575411df26c586788bffe6b846
Diffstat (limited to 'docker-compose/README.md')
-rw-r--r--docker-compose/README.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/docker-compose/README.md b/docker-compose/README.md
index c172276ebe..3fe7f9940e 100644
--- a/docker-compose/README.md
+++ b/docker-compose/README.md
@@ -50,8 +50,13 @@ mvn clean install -P<docker-profile>
`docker-compose/docker-compose.yml` file is provided to be run with `docker-compose` tool and images previously built.
It starts both Postgres database and CPS services.
-1. Edit `docker-compose.yml` and uncomment desired service to be deployed, by default `cps-and-ncmp`
- is enabled. You can comment it and uncomment `cps-standalone` or `ncmp-standalone`.
+1. Edit `docker-compose.yml`
+ 1. uncomment desired service to be deployed, by default `cps-and-ncmp` is enabled. You can comment it and uncomment `cps-standalone` or `ncmp-standalone`.
+ 2. To send data-updated events to kafka,
+ * uncomment the `zookeeper` and `kafka` services.
+ * uncomment environment variables
+ * `notification.data-updated.enabled: 'true'`
+ * `KAFKA_BOOTSTRAP_SERVER: kafka:9092`
2. Execute following command from `docker-compose` folder:
Use one of the below version type that has been generated in the local system's docker image list after the build.
@@ -59,7 +64,7 @@ Use one of the below version type that has been generated in the local system's
VERSION=latest DB_USERNAME=cps DB_PASSWORD=cps docker-compose up -d
or
VERSION=<version> DB_USERNAME=cps DB_PASSWORD=cps docker-compose up -d
-```
+```
## Running or debugging Java built code