From 80d6c640248271da46157fd3189f72b20596ea1b Mon Sep 17 00:00:00 2001 From: sunil unnava Date: Mon, 15 Oct 2018 17:02:34 -0400 Subject: add AAF based on a flag Issue-ID: DMAAP-849 Change-Id: I8f72ce6cd23bb1205fc6a1a54bd44bef8db0dfa8 Signed-off-by: sunil unnava --- src/main/resources/docker-compose/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/main/resources/docker-compose') diff --git a/src/main/resources/docker-compose/docker-compose.yml b/src/main/resources/docker-compose/docker-compose.yml index aece067..40a183e 100644 --- a/src/main/resources/docker-compose/docker-compose.yml +++ b/src/main/resources/docker-compose/docker-compose.yml @@ -6,11 +6,24 @@ services: - "2181:2181" kafka: + #CADI integrated kafka image + #image: nexus3.onap.org:10001/onap/dmaap/kafka01101:0.0.2 image: nexus3.onap.org:10001/onap/dmaap/kafka01101:0.0.1 ports: - "9092:9092" environment: + enableCadi: false KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 + #Properties required for using the CADI integrated Kafka + #KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT,EXTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT + #KAFKA_ADVERTISED_LISTENERS: INTERNAL_SASL_PLAINTEXT://kafka:9092 + #KAFKA_LISTENERS: INTERNAL_SASL_PLAINTEXT://0.0.0.0:9092 + #KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_SASL_PLAINTEXT + #KAFKA_SASL_ENABLED_MECHANISMS: PLAIN + #KAFKA_SASL_MECHANISM_INTER_BROKER_PROTOCOL: PLAIN + #KAFKA_AUTHORIZER_CLASS_NAME: org.onap.dmaap.kafkaAuthorize.KafkaCustomAuthorizer + #aaf_locate_url: https://aaf-onap-test.osaaf.org:8095 + #Remove the below 4 properties if CADI is enabled KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka:9092 KAFKA_LISTENERS: INTERNAL_PLAINTEXT://0.0.0.0:9092 @@ -21,6 +34,8 @@ services: - zookeeper dmaap: + #CADI integrated MR image + #image: ${NEXUS_DOCKER_REPO}/onap/dmaap/dmaap-mr:1.1.7 image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.6 ports: - "3904:3904" -- cgit 1.2.3-korg