[DMAAP-MR] Fix csits to move to latest
[dmaap/messagerouter/messageservice.git] / src / main / resources / docker-compose / docker-compose.yml
index 8f0d47f..6b41996 100644 (file)
@@ -1,7 +1,7 @@
 version: '2'
 services:
   zookeeper:
-    image: nexus3.onap.org:10001/onap/dmaap/zookeeper:6.0.3
+    image: nexus3.onap.org:10001/onap/dmaap/zookeeper:latest
     ports:
       - "2181:2181"
     environment:
@@ -23,7 +23,7 @@ services:
         - zookeeper
 
   kafka:
-   image: nexus3.onap.org:10001/onap/dmaap/kafka111:1.0.4
+   image: nexus3.onap.org:10001/onap/dmaap/kafka111:latest
    ports:
     - "9092:9092"
    environment:
@@ -39,6 +39,8 @@ services:
     KAFKA_OPTS: -Djava.security.auth.login.config=/etc/kafka/secrets/jaas/zk_client_jaas.conf
     KAFKA_ZOOKEEPER_SET_ACL: 'true'
     KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
+    # Reduced the number of partitions only to avoid the timeout error for the first subscribe call in slow environment
+    KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS: 1
    volumes:
      -  ./kafka/zk_client_jaas.conf:/etc/kafka/secrets/jaas/zk_client_jaas.conf
    networks:
@@ -49,14 +51,14 @@ services:
     - zookeeper
 
   dmaap:
-    image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.18
+    image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:latest
     ports:
       - "3904:3904"
       - "3905:3905"
     environment:
      enableCadi: 'false'
     volumes:
-      - /var/tmp/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
+      - ./mr/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
       - ./mr/logback.xml:/appl/dmaapMR1/bundleconfig/etc/logback.xml
       - ./mr/cadi.properties:/appl/dmaapMR1/etc/cadi.properties
     networks: