blob: 47643216840f04758dd227454f18cbe512c9c604 [file] [log] [blame]
efiacor69377612021-07-20 15:53:48 +01001# 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##
37config.zk.servers=zookeeper:2181
38
39###############################################################################
40##
41## Kafka Connection
42##
43## Items below are passed through to Kafka's producer and consumer
44## configurations (after removing "kafka.")
45## if you want to change request.required.acks it can take this one value
46#kafka.metadata.broker.list=localhost:9092,localhost:9093
47#kafka.metadata.broker.list={{.Values.kafka.name}}:{{.Values.kafka.port}}
48kafka.metadata.broker.list=kafka:9092
49##kafka.request.required.acks=-1
50#kafka.client.zookeeper=${config.zk.servers}
51consumer.timeout.ms=100
52zookeeper.connection.timeout.ms=6000
53zookeeper.session.timeout.ms=20000
54zookeeper.sync.time.ms=2000
55auto.commit.interval.ms=1000
56fetch.message.max.bytes =1000000
57auto.commit.enable=false
58
59#(backoff*retries > zksessiontimeout)
60kafka.rebalance.backoff.ms=10000
61kafka.rebalance.max.retries=6
62
63
64###############################################################################
65##
66## Secured Config
67##
68## Some data stored in the config system is sensitive -- API keys and secrets,
69## for example. to protect it, we use an encryption layer for this section
70## of the config.
71##
72## The key is a base64 encode AES key. This must be created/configured for
73## each installation.
74#cambria.secureConfig.key=
75##
76## The initialization vector is a 16 byte value specific to the secured store.
77## This must be created/configured for each installation.
78#cambria.secureConfig.iv=
79
80## Southfield Sandbox
81cambria.secureConfig.key=b/7ouTn9FfEw2PQwL0ov/Q==
82cambria.secureConfig.iv=wR9xP5k5vbz/xD0LmtqQLw==
83authentication.adminSecret=fe3cCompound
84
85
86###############################################################################
87##
88## Consumer Caching
89##
90## Kafka expects live connections from the consumer to the broker, which
91## obviously doesn't work over connectionless HTTP requests. The Cambria
92## server proxies HTTP requests into Kafka consumer sessions that are kept
93## around for later re-use. Not doing so is costly for setup per request,
94## which would substantially impact a high volume consumer's performance.
95##
96## This complicates Cambria server failover, because we often need server
97## A to close its connection before server B brings up the replacement.
98##
99
100## The consumer cache is normally enabled.
101#cambria.consumer.cache.enabled=true
102
103## Cached consumers are cleaned up after a period of disuse. The server inspects
104## consumers every sweepFreqSeconds and will clean up any connections that are
105## dormant for touchFreqMs.
106#cambria.consumer.cache.sweepFreqSeconds=15
107cambria.consumer.cache.touchFreqMs=120000
108##stickforallconsumerrequests=false
109## The cache is managed through ZK. The default value for the ZK connection
110## string is the same as config.zk.servers.
111#cambria.consumer.cache.zkConnect=${config.zk.servers}
112
113##
114## Shared cache information is associated with this node's name. The default
115## name is the hostname plus the HTTP service port this host runs on. (The
116## hostname is determined via InetAddress.getLocalHost ().getCanonicalHostName(),
117## which is not always adequate.) You can set this value explicitly here.
118##
119#cambria.api.node.identifier=<use-something-unique-to-this-instance>
120
121#cambria.rateLimit.maxEmptyPollsPerMinute=30
122#cambria.rateLimitActual.delay.ms=10
123
124###############################################################################
125##
126## Metrics Reporting
127##
128## This server can report its metrics periodically on a topic.
129##
130#metrics.send.cambria.enabled=true
131#metrics.send.cambria.topic=cambria.apinode.metrics
132#msgrtr.apinode.metrics.dmaap
133#metrics.send.cambria.sendEverySeconds=60
134
135cambria.consumer.cache.zkBasePath=/fe3c/cambria/consumerCache
136consumer.timeout=17
137default.partitions=3
138default.replicas=3
139##############################################################################
140#100mb
141maxcontentlength=10000
142
143
144##############################################################################
145#AAF Properties
146msgRtr.namespace.aaf=org.onap.dmaap.mr.topic
147msgRtr.topicfactory.aaf=org.onap.dmaap.mr.topicFactory|:org.onap.dmaap.mr.topic:
148enforced.topic.name.AAF=org.onap.dmaap.mr
149forceAAF=false
150transidUEBtopicreqd=false
151defaultNSforUEB=org.onap.dmaap.mr
152##############################################################################
153#Mirror Maker Agent
154
155msgRtr.mirrormakeradmin.aaf=org.onap.dmaap.mr.mirrormaker|*|admin
156msgRtr.mirrormakeruser.aaf=org.onap.dmaap.mr.mirrormaker|*|user
157msgRtr.mirrormakeruser.aaf.create=org.onap.dmaap.mr.topicFactory|:org.onap.dmaap.mr.topic:
158msgRtr.mirrormaker.timeout=15000
159msgRtr.mirrormaker.topic=org.onap.dmaap.mr.mirrormakeragent
160msgRtr.mirrormaker.consumergroup=mmagentserver
161msgRtr.mirrormaker.consumerid=1
162
163kafka.max.poll.interval.ms=300000
164kafka.heartbeat.interval.ms=60000
165kafka.session.timeout.ms=240000
166kafka.max.poll.records=1000