summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUNNAVA <su622b@att.com>2020-04-03 16:55:26 -0400
committersunil unnava <su622b@att.com>2020-04-03 20:59:21 +0000
commit48faaac39e5a6ca7c3c68a0a6bd2c8f7ba85ec24 (patch)
tree4d9d4df305e40847c15d2bb5ccc1cc82a4bc4698
parent3ec49895508eea9e76297d73ec94496e826fd476 (diff)
reduce the offsets topic partitions
Issue-ID: DMAAP-1418 Change-Id: I0b32aec4f238eb3d1554e0aec23fc2dca1832c89 Signed-off-by: UNNAVA <su622b@att.com>
-rw-r--r--src/main/resources/docker-compose/docker-compose.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/resources/docker-compose/docker-compose.yml b/src/main/resources/docker-compose/docker-compose.yml
index 8f0d47f..9878c3c 100644
--- a/src/main/resources/docker-compose/docker-compose.yml
+++ b/src/main/resources/docker-compose/docker-compose.yml
@@ -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: 10
volumes:
- ./kafka/zk_client_jaas.conf:/etc/kafka/secrets/jaas/zk_client_jaas.conf
networks:
@@ -56,7 +58,7 @@ services:
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: