From c418f2d1c841ea58ea36fd371a553d71313afc95 Mon Sep 17 00:00:00 2001 From: Ram Krishna Verma Date: Tue, 17 Nov 2020 13:30:52 -0500 Subject: [POLICY] Add fetchTimeout to handle dmaap 503 error Adding fetchTimeout in policy xacml-pdp, apex-pdp & pap to throttle the request for 15ms in case of getting 503 from dmaap and not flooding too many requests. Issue-ID: POLICY-2884 Change-Id: Ie03d5d7da5a6b7ac335eb9cc016c7b735faec3f0 Signed-off-by: Ram Krishna Verma --- kubernetes/policy/charts/pap/resources/config/config.json | 1 + 1 file changed, 1 insertion(+) (limited to 'kubernetes/policy/charts/pap') diff --git a/kubernetes/policy/charts/pap/resources/config/config.json b/kubernetes/policy/charts/pap/resources/config/config.json index 5c02ce0f12..aba167708c 100644 --- a/kubernetes/policy/charts/pap/resources/config/config.json +++ b/kubernetes/policy/charts/pap/resources/config/config.json @@ -50,6 +50,7 @@ "topic" : "POLICY-PDP-PAP", "servers" : [ "message-router" ], "useHttps": true, + "fetchTimeout": 15000, "topicCommInfrastructure" : "dmaap" }], "topicSinks" : [{ -- cgit 1.2.3-korg