From 32188d0ca6346db1e3fc59efc52288d9d9cf2942 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 7 Jul 2020 12:50:56 -0400 Subject: Add fetch timeout to PAP properties When an error occurs fetching from DMaaP, PAP should not try again immediately, but should wait a little bit before retrying. Added the the fetch timeout property to prevent it from defaulting to -1 when retrying. Issue-ID: POLICY-2702 Change-Id: Ifeb9ca9dc51a5d2080c84ae877781b02c3041001 Signed-off-by: Jim Hahn --- .../src/main/resources/papsetup/config/pap/etc/defaultConfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuites/stability') diff --git a/testsuites/stability/src/main/resources/papsetup/config/pap/etc/defaultConfig.json b/testsuites/stability/src/main/resources/papsetup/config/pap/etc/defaultConfig.json index e603c0b5..aca21fe7 100644 --- a/testsuites/stability/src/main/resources/papsetup/config/pap/etc/defaultConfig.json +++ b/testsuites/stability/src/main/resources/papsetup/config/pap/etc/defaultConfig.json @@ -32,7 +32,8 @@ "topicSources" : [{ "topic" : "POLICY-PDP-PAP", "servers" : [ "10.2.0.41:3904" ], - "topicCommInfrastructure" : "dmaap" + "topicCommInfrastructure" : "dmaap", + "fetchTimeout": 15000 }], "topicSinks" : [{ "topic" : "POLICY-PDP-PAP", -- cgit 1.2.3-korg