1 # Copyright (C) 2020 Nordix Foundation. All rights reserved.
2 # ========================================================================
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 # ============LICENSE_END=================================================
21 name: nonrtric-docker-net
25 image: nexus3.onap.org:10001/onap/dmaap/zookeeper:6.0.3
26 container_name: zookeeper
31 ZOOKEEPER_TICK_TIME: 2000
32 ZOOKEEPER_SYNC_LIMIT: 5
33 ZOOKEEPER_INIT_LIMIT: 10
34 ZOOKEEPER_MAX_CLIENT_CNXNS: 200
35 ZOOKEEPER_AUTOPURGE_SNAP_RETAIN_COUNT: 3
36 ZOOKEEPER_AUTOPURGE_PURGE_INTERVAL: 24
37 ZOOKEEPER_CLIENT_PORT: 2181
38 KAFKA_OPTS: -Djava.security.auth.login.config=/etc/zookeeper/secrets/jaas/zk_server_jaas.conf -Dzookeeper.kerberos.removeHostFromPrincipal=true -Dzookeeper.kerberos.removeRealmFromPrincipal=true -Dzookeeper.authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider -Dzookeeper.requireClientAuthScheme=sasl
39 ZOOKEEPER_SERVER_ID: 1
41 - ./mr/zk/zk_server_jaas.conf:/etc/zookeeper/secrets/jaas/zk_server_jaas.conf
46 image: nexus3.onap.org:10001/onap/dmaap/kafka111:1.0.4
52 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
53 KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 40000
54 KAFKA_ZOOKEEPER_SESSION_TIMEOUT_MS: 40000
55 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT
56 KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka:9092
57 KAFKA_LISTENERS: INTERNAL_PLAINTEXT://0.0.0.0:9092
58 KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_PLAINTEXT
59 KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE: 'false'
60 KAFKA_OPTS: -Djava.security.auth.login.config=/etc/kafka/secrets/jaas/zk_client_jaas.conf
61 KAFKA_ZOOKEEPER_SET_ACL: 'true'
62 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
63 # Reduced the number of partitions only to avoid the timeout error for the first subscribe call in slow environment
64 KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS: 1
66 - ./mr/kafka/zk_client_jaas.conf:/etc/kafka/secrets/jaas/zk_client_jaas.conf
73 image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.18
74 container_name: dmaap-mr
81 - ./mr/mr/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
82 - ./mr/mr/logback.xml:/appl/dmaapMR1/bundleconfig/etc/logback.xml
83 - ./mr/mr/cadi.properties:/appl/dmaapMR1/etc/cadi.properties