Process data-updated event asynchronously
[cps.git] / cps-service / src / test / resources / application.yml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (c) 2021 Bell Canada.
3 #  ================================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #          http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #
16 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18
19 notification:
20   data-updated:
21     filters:
22       enabled-dataspaces: ".*-published,.*-important"
23     enabled: true
24     topic: cps-event
25   async-executor:
26     core-pool-size: 2
27     max-pool-size: 10
28     queue-capacity: 0
29
30 spring:
31   kafka:
32     properties:
33       request.timeout.ms: 5000
34       retries: 1
35       max.block.ms: 10000
36     producer:
37       value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
38       cliend-id: cps
39     consumer:
40       group-id: cps-test
41       auto-offset-reset: earliest
42       value-deserializer: org.springframework.kafka.support.serializer.JsonDeserializer
43       properties:
44         spring.json.value.default.type: org.onap.cps.event.model.CpsDataUpdatedEvent
45
46 logging:
47   level:
48     org.apache.kafka: ERROR