From ff52b94907002d2d2910567e1ad5f55e66008eb8 Mon Sep 17 00:00:00 2001 From: Renu Kumari Date: Thu, 27 May 2021 23:16:32 -0400 Subject: Sending Data Updated Event to kafka Issue-ID: CPS-374 Signed-off-by: Renu Kumari Change-Id: I05fedcace42b84575411df26c586788bffe6b846 --- cps-application/src/main/resources/application.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cps-application') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 3edb20cd1..4f3072eb9 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -1,5 +1,6 @@ # ============LICENSE_START======================================================= # Modification (C) 2021 Nordix Foundation +# Modification Copyright (C) 2021 Bell Canada. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -57,6 +58,19 @@ spring: max-file-size: 100MB max-request-size: 100MB + kafka: + bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER:localhost:9092} + security: + protocol: PLAINTEXT + producer: + value-serializer: org.springframework.kafka.support.serializer.JsonSerializer + client-id: cps-core + +notification: + data-updated: + enabled: false + topic: ${CPS_CHANGE_EVENT_TOPIC:cps.cfg-state-events} + security: # comma-separated uri patterns which do not require authorization permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs -- cgit 1.2.3-korg