From 82b1b7c6da6ee15853158a19d11d944579c87ede Mon Sep 17 00:00:00 2001 From: sunil unnava Date: Tue, 14 Aug 2018 16:11:21 -0400 Subject: add test cases after the kafka 11 upgrade changes Issue-ID: DMAAP-527 Change-Id: I5accb52b74bdb504fdcda0030192dd28fe72ace4 Signed-off-by: sunil unnava --- bundleconfig-local/etc/appprops/MsgRtrApi.properties | 20 ++++++++++++++++---- bundleconfig-local/etc/appprops/kafka_pub_jaas.conf | 5 +++++ 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 bundleconfig-local/etc/appprops/kafka_pub_jaas.conf (limited to 'bundleconfig-local/etc') 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.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= +#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"; +}; -- cgit 1.2.3-korg