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