From 0c5979fe48a43d5fbc680d026ea7ec866f60ed9e Mon Sep 17 00:00:00 2001 From: Renu Kumari Date: Thu, 19 Aug 2021 13:11:00 -0400 Subject: Process data-updated event asynchronously - notification is processed asynchronously using defined threadpool - updated docker-compose and readme to add dataspace filtering variables Issue-ID: CPS-526 Signed-off-by: Renu Kumari Change-Id: I7f827250f45cb9e3db2f060e9b3a089a4eaee05c --- cps-application/src/main/resources/application.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'cps-application/src/main/resources') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 91c421bb6..c3d9bd1c1 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -73,7 +73,14 @@ notification: enabled: false topic: ${CPS_CHANGE_EVENT_TOPIC:cps.cfg-state-events} filters: - enabled-dataspaces: ${DATASPACE_FILTER_PATTERNS:""} + enabled-dataspaces: ${NOTIFICATION_DATASPACE_FILTER_PATTERNS:""} + async-executor: + core-pool-size: 2 + max-pool-size: 10 + queue-capacity: 500 + wait-for-tasks-to-complete-on-shutdown: true + thread-name-prefix: Async- + springdoc: swagger-ui: -- cgit 1.2.3-korg