[CCSDK] Fix pnf-reg and fault message lost 58/121658/1
authorSatoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Tue, 1 Jun 2021 09:33:24 +0000 (09:33 +0000)
committerSatoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Mon, 14 Jun 2021 12:11:28 +0000 (12:11 +0000)
CCSDK mountpoint-registrar bundle consumes SEC_FAULT_OUTPUT and
VES_PNFREG_OUTPUT DMaaP topics.
Currently dmaap timeout is set to 50000, which is much longer than
jersey.config.client.readTimeout=25000. The bundle is giving up
connection before dmaap timeout and that could cause message lost
if message arrived after client timeout.

This change remove the inappropriate timeout value from
the property file so that the bundle uses default timeout value
defined in java class.

Issue-ID: CCSDK-3320
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Change-Id: I638af7c1f737b0904cb21c8121f2a08b2737d94b
(cherry picked from commit f49357b57b2d5756f6e30f6e60b797fbd2477997)

kubernetes/sdnc/resources/config/conf/mountpoint-registrar.properties

index 57a16bd..303e504 100644 (file)
@@ -23,7 +23,6 @@ topic=unauthenticated.SEC_FAULT_OUTPUT
 contenttype=application/json
 group=myG
 id=C1
-timeout=50000
 limit=10000
 
 [pnfRegistration]
@@ -41,5 +40,4 @@ topic=unauthenticated.VES_PNFREG_OUTPUT
 contenttype=application/json
 group=myG
 id=C1
-timeout=50000
 limit=10000