1 # Copyright © 2017 Amdocs, Bell Canada, AT&T
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 ###############################################################################
17 ## Cambria API Server config
19 ## - Default values are shown as commented settings.
22 ##############################################################################
26 ## - 3904 is standard as of 7/29/14.
28 ## Zookeeper Connection
30 ## Both Cambria and Kafka make use of Zookeeper.
32 config.zk.servers={{.Values.zookeeper.name}}:{{.Values.zookeeper.port}}
35 ###############################################################################
39 ## Items below are passed through to Kafka's producer and consumer
40 ## configurations (after removing "kafka.")
41 ## if you want to change request.required.acks it can take this one value
42 kafka.metadata.broker.list={{.Values.kafka.name}}:{{.Values.kafka.port}}
43 ##kafka.request.required.acks=-1
44 #kafka.client.zookeeper=${config.zk.servers}
45 consumer.timeout.ms=100
46 zookeeper.connection.timeout.ms=6000
47 zookeeper.session.timeout.ms=6000
48 zookeeper.sync.time.ms=2000
49 auto.commit.interval.ms=1000
50 fetch.message.max.bytes =1000000
51 auto.commit.enable=false
54 ###############################################################################
58 ## Some data stored in the config system is sensitive -- API keys and secrets,
59 ## for example. to protect it, we use an encryption layer for this section
62 ## The key is a base64 encode AES key. This must be created/configured for
64 #cambria.secureConfig.key=
66 ## The initialization vector is a 16 byte value specific to the secured store.
67 ## This must be created/configured for each installation.
68 #cambria.secureConfig.iv=
71 cambria.secureConfig.key=b/7ouTn9FfEw2PQwL0ov/Q==
72 cambria.secureConfig.iv=wR9xP5k5vbz/xD0LmtqQLw==
73 authentication.adminSecret=fe3cCompound
74 #cambria.secureConfig.key[pc569h]=YT3XPyxEmKCTLI2NK+Sjbw==
75 #cambria.secureConfig.iv[pc569h]=rMm2jhR3yVnU+u2V9Ugu3Q==
78 ###############################################################################
82 ## Kafka expects live connections from the consumer to the broker, which
83 ## obviously doesn't work over connectionless HTTP requests. The Cambria
84 ## server proxies HTTP requests into Kafka consumer sessions that are kept
85 ## around for later re-use. Not doing so is costly for setup per request,
86 ## which would substantially impact a high volume consumer's performance.
88 ## This complicates Cambria server failover, because we often need server
89 ## A to close its connection before server B brings up the replacement.
92 ## The consumer cache is normally enabled.
93 #cambria.consumer.cache.enabled=true
95 ## Cached consumers are cleaned up after a period of disuse. The server inspects
96 ## consumers every sweepFreqSeconds and will clean up any connections that are
97 ## dormant for touchFreqMs.
98 #cambria.consumer.cache.sweepFreqSeconds=15
99 #cambria.consumer.cache.touchFreqMs=120000
101 ## The cache is managed through ZK. The default value for the ZK connection
102 ## string is the same as config.zk.servers.
103 #cambria.consumer.cache.zkConnect=${config.zk.servers}
106 ## Shared cache information is associated with this node's name. The default
107 ## name is the hostname plus the HTTP service port this host runs on. (The
108 ## hostname is determined via InetAddress.getLocalHost ().getCanonicalHostName(),
109 ## which is not always adequate.) You can set this value explicitly here.
111 #cambria.api.node.identifier=<use-something-unique-to-this-instance>
113 ###############################################################################
117 ## This server can report its metrics periodically on a topic.
119 #metrics.send.cambria.enabled=true
120 #metrics.send.cambria.topic=cambria.apinode.metrics #msgrtr.apinode.metrics.dmaap
121 #metrics.send.cambria.sendEverySeconds=60
123 cambria.consumer.cache.zkBasePath=/fe3c/cambria/consumerCache
125 ##############################################################################
127 maxcontentlength=10000
130 ##############################################################################
132 msgRtr.namespace.aaf=org.openecomp.dcae.dmaap.mtnje2.mr.topic
133 msgRtr.topicfactory.aaf=org.openecomp.dcae.dmaap.topicFactory|:org.openecomp.dcae.dmaap.mtnje2.mr.topic:
134 enforced.topic.name.AAF=org.openecomp
136 transidUEBtopicreqd=false
137 defaultNSforUEB=org.openecomp.dmaap.mr.ueb
138 ##############################################################################
140 msgRtr.mirrormakeradmin.aaf=org.openecomp.dmaap.mr.dev.mirrormaker|*|admin
141 msgRtr.mirrormakeruser.aaf=org.openecomp.dmaap.mr.dev.mirrormaker|*|user
142 msgRtr.mirrormakeruser.aaf.create=org.openecomp.dmaap.mr.dev.topicFactory|:org.openecomp.dmaap.mr.dev.topic:
143 msgRtr.mirrormaker.timeout=15000
144 msgRtr.mirrormaker.topic=org.openecomp.dmaap.mr.prod.mm.agent
145 msgRtr.mirrormaker.consumergroup=mmagentserver
146 msgRtr.mirrormaker.consumerid=1