aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose/docker-compose.yml
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/docker-compose.yml
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/docker-compose.yml')
-rwxr-xr-xdocker-compose/docker-compose.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index 2878462a36..51bb162b20 100755
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -30,6 +30,8 @@ services:
# DB_HOST: dbpostgresql
# DB_USERNAME: ${DB_USERNAME:-cps}
# DB_PASSWORD: ${DB_PASSWORD:-cps}
+ # #KAFKA_BOOTSTRAP_SERVER: kafka:9092
+ # #notification.data-updated.enabled: 'true'
# restart: unless-stopped
# depends_on:
# - dbpostgresql
@@ -45,6 +47,8 @@ services:
# DB_HOST: dbpostgresql
# DB_USERNAME: ${DB_USERNAME:-cps}
# DB_PASSWORD: ${DB_PASSWORD:-cps}
+ # #KAFKA_BOOTSTRAP_SERVER: kafka:9092
+ # #notification.data-updated.enabled: 'true'
# restart: unless-stopped
# depends_on:
# - dbpostgresql
@@ -60,6 +64,8 @@ services:
DB_HOST: dbpostgresql
DB_USERNAME: ${DB_USERNAME:-cps}
DB_PASSWORD: ${DB_PASSWORD:-cps}
+ #KAFKA_BOOTSTRAP_SERVER: kafka:9092
+ #notification.data-updated.enabled: 'true'
restart: unless-stopped
depends_on:
- dbpostgresql
@@ -73,3 +79,25 @@ services:
POSTGRES_DB: cpsdb
POSTGRES_USER: ${DB_USERNAME:-cps}
POSTGRES_PASSWORD: ${DB_PASSWORD:-cps}
+
+# zookeeper:
+# image: confluentinc/cp-zookeeper:6.1.1
+# environment:
+# ZOOKEEPER_CLIENT_PORT: 2181
+# ZOOKEEPER_TICK_TIME: 2000
+# ports:
+# - 22181:2181
+#
+# kafka:
+# image: confluentinc/cp-kafka:6.1.1
+# depends_on:
+# - zookeeper
+# ports:
+# - 29092:29092
+# environment:
+# KAFKA_BROKER_ID: 1
+# KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
+# KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
+# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
+# KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
+# KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1