1 ###############################################################################
3 ## Cambria API Server config
5 ## - Default values are shown as commented settings.
8 ###############################################################################
12 ## - 3904 is standard as of 7/29/14.
14 ## Zookeeper Connection
16 ## Both Cambria and Kafka make use of Zookeeper.
18 # config.zk.servers=zookeeper.namespace-placeholder:2181
19 config.zk.servers=zookeeper:2181
20 #config.zk.servers=172.17.0.1:2181
21 #dmaap.namespace-placeholder:2181
23 #config.zk.root=/fe3c/cambria/config
26 ###############################################################################
30 ## Items below are passed through to Kafka's producer and consumer
31 ## configurations (after removing "kafka.")
32 ## if you want to change request.required.acks it can take this one value
33 #kafka.metadata.broker.list=localhost:9092,localhost:9093
34 kafka.metadata.broker.list=global-kafka:9092
35 #kafka.metadata.broker.list=172.17.0.1:9092
36 #dmaap.namespace-placeholder:9092
38 ##kafka.request.required.acks=-1
39 #kafka.client.zookeeper=${config.zk.servers}
40 consumer.timeout.ms=100
41 zookeeper.connection.timeout.ms=6000
42 zookeeper.session.timeout.ms=6000
43 zookeeper.sync.time.ms=2000
44 auto.commit.interval.ms=1000
45 fetch.message.max.bytes =1000000
46 auto.commit.enable=false
49 ###############################################################################
53 ## Some data stored in the config system is sensitive -- API keys and secrets,
54 ## for example. to protect it, we use an encryption layer for this section
57 ## The key is a base64 encode AES key. This must be created/configured for
59 #cambria.secureConfig.key=
61 ## The initialization vector is a 16 byte value specific to the secured store.
62 ## This must be created/configured for each installation.
63 #cambria.secureConfig.iv=
66 cambria.secureConfig.key=b/7ouTn9FfEw2PQwL0ov/Q==
67 cambria.secureConfig.iv=wR9xP5k5vbz/xD0LmtqQLw==
68 authentication.adminSecret=fe3cCompound
69 #cambria.secureConfig.key[pc569h]=YT3XPyxEmKCTLI2NK+Sjbw==
70 #cambria.secureConfig.iv[pc569h]=rMm2jhR3yVnU+u2V9Ugu3Q==
73 ###############################################################################
77 ## Kafka expects live connections from the consumer to the broker, which
78 ## obviously doesn't work over connectionless HTTP requests. The Cambria
79 ## server proxies HTTP requests into Kafka consumer sessions that are kept
80 ## around for later re-use. Not doing so is costly for setup per request,
81 ## which would substantially impact a high volume consumer's performance.
83 ## This complicates Cambria server failover, because we often need server
84 ## A to close its connection before server B brings up the replacement.
87 ## The consumer cache is normally enabled.
88 #cambria.consumer.cache.enabled=true
90 ## Cached consumers are cleaned up after a period of disuse. The server inspects
91 ## consumers every sweepFreqSeconds and will clean up any connections that are
92 ## dormant for touchFreqMs.
93 #cambria.consumer.cache.sweepFreqSeconds=15
94 #cambria.consumer.cache.touchFreqMs=120000
96 ## The cache is managed through ZK. The default value for the ZK connection
97 ## string is the same as config.zk.servers.
98 #cambria.consumer.cache.zkConnect=${config.zk.servers}
101 ## Shared cache information is associated with this node's name. The default
102 ## name is the hostname plus the HTTP service port this host runs on. (The
103 ## hostname is determined via InetAddress.getLocalHost ().getCanonicalHostName(),
104 ## which is not always adequate.) You can set this value explicitly here.
106 #cambria.api.node.identifier=<use-something-unique-to-this-instance>
108 ###############################################################################
112 ## This server can report its metrics periodically on a topic.
114 #metrics.send.cambria.enabled=true
115 #metrics.send.cambria.topic=cambria.apinode.metrics #msgrtr.apinode.metrics.dmaap
116 #metrics.send.cambria.sendEverySeconds=60
118 cambria.consumer.cache.zkBasePath=/fe3c/cambria/consumerCache
120 ##############################################################################
122 maxcontentlength=10000
125 ##############################################################################
127 msgRtr.namespace.aaf=org.openecomp.dcae.dmaap.mtnje2.mr.topic
128 msgRtr.topicfactory.aaf=org.openecomp.dcae.dmaap.topicFactory|:org.openecomp.dcae.dmaap.mtnje2.mr.topic:
129 enforced.topic.name.AAF=org.openecomp
131 transidUEBtopicreqd=false
132 defaultNSforUEB=org.openecomp.dmaap.mr.ueb
133 ##############################################################################
135 msgRtr.mirrormakeradmin.aaf=org.openecomp.dmaap.mr.dev.mirrormaker|*|admin
136 msgRtr.mirrormakeruser.aaf=org.openecomp.dmaap.mr.dev.mirrormaker|*|user
137 msgRtr.mirrormakeruser.aaf.create=org.openecomp.dmaap.mr.dev.topicFactory|:org.openecomp.dmaap.mr.dev.topic:
138 msgRtr.mirrormaker.timeout=15000
139 msgRtr.mirrormaker.topic=org.openecomp.dmaap.mr.prod.mm.agent
140 msgRtr.mirrormaker.consumergroup=mmagentserver
141 msgRtr.mirrormaker.consumerid=1