diff options
author | Renu Kumari <renu.kumari@bell.ca> | 2021-08-19 13:11:00 -0400 |
---|---|---|
committer | Renu Kumari <renu.kumari@bell.ca> | 2021-08-24 09:39:45 -0400 |
commit | 86c74c79cb45992d9f2ec134477cae41cd26651b (patch) | |
tree | 4bc17c8dca351910f0f411a6007f0db6924af5ab /cps-application/src/main | |
parent | 888dcd495ecb63bf678e7234e9dc34e0743cb412 (diff) |
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 <renu.kumari@bell.ca>
Change-Id: I7f827250f45cb9e3db2f060e9b3a089a4eaee05c
Diffstat (limited to 'cps-application/src/main')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index e185bf23f7..acf78036ad 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:
|