summaryrefslogtreecommitdiffstats
path: root/bundleconfig-local
diff options
context:
space:
mode:
authorsunil unnava <su622b@att.com>2018-08-14 16:11:21 -0400
committersunil unnava <su622b@att.com>2018-08-14 16:15:23 -0400
commit82b1b7c6da6ee15853158a19d11d944579c87ede (patch)
tree1c363c09f73dc11ea4ec52292fbff7e121a7689b /bundleconfig-local
parent70705a32b74d6ee29979a246a45686a9546dd5d7 (diff)
add test cases after the kafka 11 upgrade changes
Issue-ID: DMAAP-527 Change-Id: I5accb52b74bdb504fdcda0030192dd28fe72ace4 Signed-off-by: sunil unnava <su622b@att.com>
Diffstat (limited to 'bundleconfig-local')
-rw-r--r--bundleconfig-local/etc/appprops/MsgRtrApi.properties20
-rw-r--r--bundleconfig-local/etc/appprops/kafka_pub_jaas.conf5
2 files changed, 21 insertions, 4 deletions
diff --git a/bundleconfig-local/etc/appprops/MsgRtrApi.properties b/bundleconfig-local/etc/appprops/MsgRtrApi.properties
index 1ccd9f0..106a1af 100644
--- a/bundleconfig-local/etc/appprops/MsgRtrApi.properties
+++ b/bundleconfig-local/etc/appprops/MsgRtrApi.properties
@@ -54,12 +54,16 @@ kafka.metadata.broker.list=<kafka_host>:<kafka_port>
#kafka.client.zookeeper=${config.zk.servers}
consumer.timeout.ms=100
zookeeper.connection.timeout.ms=6000
-zookeeper.session.timeout.ms=6000
+zookeeper.session.timeout.ms=20000
zookeeper.sync.time.ms=2000
auto.commit.interval.ms=1000
fetch.message.max.bytes =1000000
auto.commit.enable=false
+#(backoff*retries > zksessiontimeout)
+kafka.rebalance.backoff.ms=10000
+kafka.rebalance.max.retries=6
+
###############################################################################
##
@@ -106,8 +110,8 @@ authentication.adminSecret=fe3cCompound
## consumers every sweepFreqSeconds and will clean up any connections that are
## dormant for touchFreqMs.
#cambria.consumer.cache.sweepFreqSeconds=15
-#cambria.consumer.cache.touchFreqMs=120000
-
+cambria.consumer.cache.touchFreqMs=120000
+##stickforallconsumerrequests=false
## The cache is managed through ZK. The default value for the ZK connection
## string is the same as config.zk.servers.
#cambria.consumer.cache.zkConnect=${config.zk.servers}
@@ -120,6 +124,9 @@ authentication.adminSecret=fe3cCompound
##
#cambria.api.node.identifier=<use-something-unique-to-this-instance>
+#cambria.rateLimit.maxEmptyPollsPerMinute=30
+#cambria.rateLimitActual.delay.ms=10
+
###############################################################################
##
## Metrics Reporting
@@ -153,4 +160,9 @@ msgRtr.mirrormakeruser.aaf.create=com.onap.dmaap.mr.dev.topicFactory|:com.onap.d
msgRtr.mirrormaker.timeout=15000
msgRtr.mirrormaker.topic=com.onap.dmaap.mr.prod.mm.agent
msgRtr.mirrormaker.consumergroup=mmagentserver
-msgRtr.mirrormaker.consumerid=1 \ No newline at end of file
+msgRtr.mirrormaker.consumerid=1
+
+kafka.max.poll.interval.ms=300000
+kafka.heartbeat.interval.ms=60000
+kafka.session.timeout.ms=240000
+kafka.max.poll.records=1000 \ No newline at end of file
diff --git a/bundleconfig-local/etc/appprops/kafka_pub_jaas.conf b/bundleconfig-local/etc/appprops/kafka_pub_jaas.conf
new file mode 100644
index 0000000..e27eac4
--- /dev/null
+++ b/bundleconfig-local/etc/appprops/kafka_pub_jaas.conf
@@ -0,0 +1,5 @@
+KafkaClient {
+ org.apache.kafka.common.security.plain.PlainLoginModule required
+ username="admin"
+ password="admin_secret";
+};