[CONSUL] Add limits to consul chart.
[oom.git] / kubernetes / dmaap / components / message-router / resources / config / dmaap / MsgRtrApi.properties
1 # LICENSE_START=======================================================
2 #  org.onap.dmaap
3 #  ================================================================================
4 #  Copyright © 2017 AT&T Intellectual Property. All rights reserved.
5 #  ================================================================================
6 #  Licensed under the Apache License, Version 2.0 (the "License");
7 #  you may not use this file except in compliance with the License.
8 #  You may obtain a copy of the License at
9 #        http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #  Unless required by applicable law or agreed to in writing, software
12 #  distributed under the License is distributed on an "AS IS" BASIS,
13 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 #  See the License for the specific language governing permissions and
15 #  limitations under the License.
16 #  ============LICENSE_END=========================================================
17 #
18 #  ECOMP is a trademark and service mark of AT&T Intellectual Property.
19 #
20 ###############################################################################
21 ###############################################################################
22 ##
23 ## Cambria API Server config
24 ##
25 ## Default values are shown as commented settings.
26 ##
27 ###############################################################################
28 ##
29 ## HTTP service
30 ##
31 ## 3904 is standard as of 7/29/14.
32 #
33 ## Zookeeper Connection
34 ##
35 ## Both Cambria and Kafka make use of Zookeeper.
36 ##
37 #config.zk.servers=172.18.1.1
38 #config.zk.servers={{.Values.zookeeper.name}}:{{.Values.zookeeper.port}}
39 config.zk.servers={{include "common.release" .}}-{{.Values.zookeeper.name}}-0.{{.Values.zookeeper.name}}.{{.Release.Namespace}}.svc.cluster.local:{{.Values.zookeeper.port}},{{include "common.release" .}}-{{.Values.zookeeper.name}}-1.{{.Values.zookeeper.name}}.{{.Release.Namespace}}.svc.cluster.local:{{.Values.zookeeper.port}},{{include "common.release" .}}-{{.Values.zookeeper.name}}-2.{{.Values.zookeeper.name}}.{{.Release.Namespace}}.svc.cluster.local:{{.Values.zookeeper.port}}
40
41 #config.zk.root=/fe3c/cambria/config
42
43
44 ###############################################################################
45 ##
46 ## Kafka Connection
47 ##
48 ##        Items below are passed through to Kafka's producer and consumer
49 ##        configurations (after removing "kafka.")
50 ##        if you want to change request.required.acks it can take this one value
51 #kafka.metadata.broker.list=localhost:9092,localhost:9093
52 #kafka.metadata.broker.list={{.Values.kafka.name}}:{{.Values.kafka.port}}
53 kafka.metadata.broker.list={{include "common.release" .}}-{{.Values.kafka.name}}-0.{{.Values.kafka.name}}.{{.Release.Namespace}}.svc.cluster.local:{{.Values.kafka.port}},{{include "common.release" .}}-{{.Values.kafka.name}}-1.{{.Values.kafka.name}}.{{.Release.Namespace}}.svc.cluster.local:{{.Values.kafka.port}},{{include "common.release" .}}-{{.Values.kafka.name}}-2.{{.Values.kafka.name}}.{{.Release.Namespace}}.svc.cluster.local:{{.Values.kafka.port}}
54 ##kafka.request.required.acks=-1
55 #kafka.client.zookeeper=${config.zk.servers}
56 consumer.timeout.ms=100
57 zookeeper.connection.timeout.ms=6000
58 zookeeper.session.timeout.ms=20000
59 zookeeper.sync.time.ms=2000
60 auto.commit.interval.ms=1000
61 fetch.message.max.bytes =1000000
62 auto.commit.enable=false
63
64 #(backoff*retries > zksessiontimeout)
65 kafka.rebalance.backoff.ms=10000
66 kafka.rebalance.max.retries=6
67
68
69 ###############################################################################
70 ##
71 ##        Secured Config
72 ##
73 ##        Some data stored in the config system is sensitive -- API keys and secrets,
74 ##        for example. to protect it, we use an encryption layer for this section
75 ##        of the config.
76 ##
77 ## The key is a base64 encode AES key. This must be created/configured for
78 ## each installation.
79 #cambria.secureConfig.key=
80 ##
81 ## The initialization vector is a 16 byte value specific to the secured store.
82 ## This must be created/configured for each installation.
83 #cambria.secureConfig.iv=
84
85 ## Southfield Sandbox
86 cambria.secureConfig.key=b/7ouTn9FfEw2PQwL0ov/Q==
87 cambria.secureConfig.iv=wR9xP5k5vbz/xD0LmtqQLw==
88 authentication.adminSecret=fe3cCompound
89 #cambria.secureConfig.key[pc569h]=YT3XPyxEmKCTLI2NK+Sjbw==
90 #cambria.secureConfig.iv[pc569h]=rMm2jhR3yVnU+u2V9Ugu3Q==
91
92
93 ###############################################################################
94 ##
95 ## Consumer Caching
96 ##
97 ##        Kafka expects live connections from the consumer to the broker, which
98 ##        obviously doesn't work over connectionless HTTP requests. The Cambria
99 ##        server proxies HTTP requests into Kafka consumer sessions that are kept
100 ##        around for later re-use. Not doing so is costly for setup per request,
101 ##        which would substantially impact a high volume consumer's performance.
102 ##
103 ##        This complicates Cambria server failover, because we often need server
104 ##        A to close its connection before server B brings up the replacement.
105 ##
106
107 ## The consumer cache is normally enabled.
108 #cambria.consumer.cache.enabled=true
109
110 ## Cached consumers are cleaned up after a period of disuse. The server inspects
111 ## consumers every sweepFreqSeconds and will clean up any connections that are
112 ## dormant for touchFreqMs.
113 #cambria.consumer.cache.sweepFreqSeconds=15
114 cambria.consumer.cache.touchFreqMs=120000
115 ##stickforallconsumerrequests=false
116 ## The cache is managed through ZK. The default value for the ZK connection
117 ## string is the same as config.zk.servers.
118 #cambria.consumer.cache.zkConnect=${config.zk.servers}
119
120 ##
121 ## Shared cache information is associated with this node's name. The default
122 ## name is the hostname plus the HTTP service port this host runs on. (The
123 ## hostname is determined via InetAddress.getLocalHost ().getCanonicalHostName(),
124 ## which is not always adequate.) You can set this value explicitly here.
125 ##
126 #cambria.api.node.identifier=<use-something-unique-to-this-instance>
127
128 #cambria.rateLimit.maxEmptyPollsPerMinute=30
129 #cambria.rateLimitActual.delay.ms=10
130
131 ###############################################################################
132 ##
133 ## Metrics Reporting
134 ##
135 ##        This server can report its metrics periodically on a topic.
136 ##
137 #metrics.send.cambria.enabled=true
138 #metrics.send.cambria.topic=cambria.apinode.metrics                                  #msgrtr.apinode.metrics.dmaap
139 #metrics.send.cambria.sendEverySeconds=60
140
141 cambria.consumer.cache.zkBasePath=/fe3c/cambria/consumerCache
142 consumer.timeout=17
143 default.partitions=3
144 default.replicas=3
145 ##############################################################################
146 #100mb
147 maxcontentlength=10000
148
149
150 ##############################################################################
151 #AAF Properties
152 msgRtr.namespace.aaf=org.onap.dmaap.mr.topic
153 msgRtr.topicfactory.aaf=org.onap.dmaap.mr.topicFactory|:org.onap.dmaap.mr.topic:
154 enforced.topic.name.AAF=org.onap.dmaap.mr
155 forceAAF=false
156 transidUEBtopicreqd=false
157 defaultNSforUEB=org.onap.dmaap.mr
158 ##############################################################################
159 #Mirror Maker Agent
160
161 msgRtr.mirrormakeradmin.aaf=org.onap.dmaap.mr.mirrormaker|*|admin
162 msgRtr.mirrormakeruser.aaf=org.onap.dmaap.mr.mirrormaker|*|user
163 msgRtr.mirrormakeruser.aaf.create=org.onap.dmaap.mr.topicFactory|:org.onap.dmaap.mr.topic:
164 msgRtr.mirrormaker.timeout=15000
165 msgRtr.mirrormaker.topic=org.onap.dmaap.mr.mirrormakeragent
166 msgRtr.mirrormaker.consumergroup=mmagentserver
167 msgRtr.mirrormaker.consumerid=1
168
169 kafka.max.poll.interval.ms=300000
170 kafka.heartbeat.interval.ms=60000
171 kafka.session.timeout.ms=240000
172 kafka.max.poll.records=1000