diff options
author | Renu Kumari <renu.kumari@bell.ca> | 2021-05-27 23:16:32 -0400 |
---|---|---|
committer | Renu Kumari <renu.kumari@bell.ca> | 2021-07-07 06:54:13 -0400 |
commit | ff52b94907002d2d2910567e1ad5f55e66008eb8 (patch) | |
tree | b53ea7cf4587ec84db6db77b0d23f23327e538ad /cps-application/src | |
parent | 6658f50ddbfbd13469f24aefc8a6002d8807a7eb (diff) |
Sending Data Updated Event to kafka
Issue-ID: CPS-374
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I05fedcace42b84575411df26c586788bffe6b846
Diffstat (limited to 'cps-application/src')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 3edb20cd1f..4f3072eb91 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
|