increase zookeeper timeout in docker-compose.yaml
[dmaap/messagerouter/messageservice.git] / src / main / resources / docker-compose / docker-compose.yml
index d6db315..3631a95 100644 (file)
@@ -15,6 +15,8 @@ services:
     enableCadi: 'false'
     KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
     KAFKA_LOG_DIRS: /opt/kafka/data
+    KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS: 40000
+    KAFKA_ZOOKEEPER_SESSION_TIMEOUT_MS: 40000
     # Uncomment the following lines to create authenticated topics
     #KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT,EXTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT
     #KAFKA_ADVERTISED_LISTENERS: INTERNAL_SASL_PLAINTEXT://kafka:9092