From ff52b94907002d2d2910567e1ad5f55e66008eb8 Mon Sep 17 00:00:00 2001 From: Renu Kumari Date: Thu, 27 May 2021 23:16:32 -0400 Subject: Sending Data Updated Event to kafka Issue-ID: CPS-374 Signed-off-by: Renu Kumari Change-Id: I05fedcace42b84575411df26c586788bffe6b846 --- docker-compose/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'docker-compose/README.md') diff --git a/docker-compose/README.md b/docker-compose/README.md index c172276eb..3fe7f9940 100644 --- a/docker-compose/README.md +++ b/docker-compose/README.md @@ -50,8 +50,13 @@ mvn clean install -P `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= DB_USERNAME=cps DB_PASSWORD=cps docker-compose up -d -``` +``` ## Running or debugging Java built code -- cgit 1.2.3-korg