diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2021-07-07 13:39:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-07-07 13:39:00 +0000 |
commit | b72f69b466ccd0e8fa5be8baa94bea50651f16db (patch) | |
tree | a1bae8fed8d1349b8a966a71d0100786e5d7df4a /docker-compose/docker-compose.yml | |
parent | d32354171c15651c24b8e7f99c1164b75411489a (diff) | |
parent | ff52b94907002d2d2910567e1ad5f55e66008eb8 (diff) |
Merge "Sending Data Updated Event to kafka"
Diffstat (limited to 'docker-compose/docker-compose.yml')
-rwxr-xr-x | docker-compose/docker-compose.yml | 28 |
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 |