diff options
author | 2019-04-23 16:11:37 +0200 | |
---|---|---|
committer | 2019-04-26 12:40:58 +0200 | |
commit | 605be8e5119b5aaf7ec52dbc05a504ec2a3a6173 (patch) | |
tree | 893d2bce4564d4f426ee83089e419bf86a25f648 /plans/dcaegen2-collectors-hv-ves/testsuites/docker-compose.yml | |
parent | 39c0dadfc85c06a0d5a3ea517ff9d06c39bd4e8a (diff) |
Switch to DMaaP kafka image
Issue-ID: DCAEGEN2-1448
Change-Id: I9f0c375eb8530749fa6bdc506a3246f7b5f6575c
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Diffstat (limited to 'plans/dcaegen2-collectors-hv-ves/testsuites/docker-compose.yml')
-rw-r--r-- | plans/dcaegen2-collectors-hv-ves/testsuites/docker-compose.yml | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/plans/dcaegen2-collectors-hv-ves/testsuites/docker-compose.yml b/plans/dcaegen2-collectors-hv-ves/testsuites/docker-compose.yml index 1d34e9f8..eb61db97 100644 --- a/plans/dcaegen2-collectors-hv-ves/testsuites/docker-compose.yml +++ b/plans/dcaegen2-collectors-hv-ves/testsuites/docker-compose.yml @@ -30,21 +30,39 @@ services: # zookeeper: - image: wurstmeister/zookeeper + image: ${ZOOKEEPER_IMAGE_FULL_NAME} ports: - "2181:2181" networks: - hv-ves-default kafka: - image: wurstmeister/kafka + image: ${KAFKA_IMAGE_FULL_NAME} ports: - "9092:9092" + - "9093:9093" environment: - KAFKA_ADVERTISED_HOST_NAME: "kafka" - KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true' + HOST_IP: 127.0.0.1 + KAFKA_BROKER_ID: 0 + ENDPOINT_PORT: 30490 KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181" - KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092" + KAFKA_AUTO_CREATE_TOPICS_ENABLE: "true" + KAFKA_DELETE_TOPIC_ENABLE: "true" + + KAFKA_LISTENERS: "INTERNAL_SASL_PLAINTEXT://0.0.0.0:9092,EXTERNAL_SASL_PLAINTEXT://0.0.0.0:9093" + KAFKA_ADVERTISED_LISTENERS: "INTERNAL_SASL_PLAINTEXT://:9092,EXTERNAL_SASL_PLAINTEXT://:9093" + KAFKA_ADVERTISED_HOST_NAME: "kafka" + KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: "INTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT,EXTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT" + 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-locate:8095 + KAFKA_LOG_DIRS: /opt/kafka/data + KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 + KAFKA_DEFAULT_REPLICATION_FACTOR: 1 + KAFKA_NUM_PARTITIONS: 1 volumes: - /var/run/docker.sock:/var/run/docker.sock depends_on: |