blob: ed3999d36ec5059aad46ebf5605416e5eac14a9d [file] [log] [blame]
pramodad6382f2018-03-28 22:32:00 +00001# Copyright © 2017 Amdocs, Bell Canada, AT&T
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Jerome Douceraind18576b2018-03-17 14:21:42 -040015###############################################################################
16##
17## Cambria API Server config
18##
19## - Default values are shown as commented settings.
20##
21
pramodad6382f2018-03-28 22:32:00 +000022##############################################################################
Jerome Douceraind18576b2018-03-17 14:21:42 -040023##
24## HTTP service
25##
26## - 3904 is standard as of 7/29/14.
27#
28## Zookeeper Connection
29##
30## Both Cambria and Kafka make use of Zookeeper.
31##
pramodad6382f2018-03-28 22:32:00 +000032config.zk.servers={{.Values.zookeeper.nameOverride}}:{{.Values.config.zookeeperPort}}
Jerome Douceraind18576b2018-03-17 14:21:42 -040033#config.zk.servers=172.17.0.1:2181
pramodad6382f2018-03-28 22:32:00 +000034#dmaap.onap-message-router:2181
Jerome Douceraind18576b2018-03-17 14:21:42 -040035#10.208.128.229:2181
36#config.zk.root=/fe3c/cambria/config
37
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
pramodad6382f2018-03-28 22:32:00 +000047kafka.metadata.broker.list={{.Values.kafka.nameOverride}}:{{.Values.config.kafkaPort}}
Jerome Douceraind18576b2018-03-17 14:21:42 -040048#kafka.metadata.broker.list=172.17.0.1:9092
pramodad6382f2018-03-28 22:32:00 +000049#dmaap.onap-message-router:9092
Jerome Douceraind18576b2018-03-17 14:21:42 -040050#10.208.128.229:9092
51##kafka.request.required.acks=-1
52#kafka.client.zookeeper=${config.zk.servers}
53consumer.timeout.ms=100
54zookeeper.connection.timeout.ms=6000
55zookeeper.session.timeout.ms=6000
56zookeeper.sync.time.ms=2000
57auto.commit.interval.ms=1000
58fetch.message.max.bytes =1000000
59auto.commit.enable=false
60
61
62###############################################################################
63##
64## Secured Config
65##
66## Some data stored in the config system is sensitive -- API keys and secrets,
67## for example. to protect it, we use an encryption layer for this section
68## of the config.
69##
70## The key is a base64 encode AES key. This must be created/configured for
71## each installation.
72#cambria.secureConfig.key=
73##
74## The initialization vector is a 16 byte value specific to the secured store.
75## This must be created/configured for each installation.
76#cambria.secureConfig.iv=
77
78## Southfield Sandbox
79cambria.secureConfig.key=b/7ouTn9FfEw2PQwL0ov/Q==
80cambria.secureConfig.iv=wR9xP5k5vbz/xD0LmtqQLw==
81authentication.adminSecret=fe3cCompound
82#cambria.secureConfig.key[pc569h]=YT3XPyxEmKCTLI2NK+Sjbw==
83#cambria.secureConfig.iv[pc569h]=rMm2jhR3yVnU+u2V9Ugu3Q==
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
107#cambria.consumer.cache.touchFreqMs=120000
108
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###############################################################################
122##
123## Metrics Reporting
124##
125## This server can report its metrics periodically on a topic.
126##
127#metrics.send.cambria.enabled=true
128#metrics.send.cambria.topic=cambria.apinode.metrics #msgrtr.apinode.metrics.dmaap
129#metrics.send.cambria.sendEverySeconds=60
130
131cambria.consumer.cache.zkBasePath=/fe3c/cambria/consumerCache
132
133##############################################################################
134#100mb
135maxcontentlength=10000
136
137
138##############################################################################
139#AAF Properties
140msgRtr.namespace.aaf=org.openecomp.dcae.dmaap.mtnje2.mr.topic
141msgRtr.topicfactory.aaf=org.openecomp.dcae.dmaap.topicFactory|:org.openecomp.dcae.dmaap.mtnje2.mr.topic:
142enforced.topic.name.AAF=org.openecomp
143forceAAF=false
144transidUEBtopicreqd=false
145defaultNSforUEB=org.openecomp.dmaap.mr.ueb
146##############################################################################
147#Mirror Maker Agent
148msgRtr.mirrormakeradmin.aaf=org.openecomp.dmaap.mr.dev.mirrormaker|*|admin
149msgRtr.mirrormakeruser.aaf=org.openecomp.dmaap.mr.dev.mirrormaker|*|user
150msgRtr.mirrormakeruser.aaf.create=org.openecomp.dmaap.mr.dev.topicFactory|:org.openecomp.dmaap.mr.dev.topic:
151msgRtr.mirrormaker.timeout=15000
152msgRtr.mirrormaker.topic=org.openecomp.dmaap.mr.prod.mm.agent
153msgRtr.mirrormaker.consumergroup=mmagentserver
154msgRtr.mirrormaker.consumerid=1