summaryrefslogtreecommitdiffstats
path: root/src/main/resources/application.yml
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-06-20 13:42:31 +0100
committermpriyank <priyank.maheshwari@est.tech>2023-06-30 12:29:19 +0100
commita9b8d9da4602727ca5810f62d250b6b941664b8c (patch)
tree0f70835cb2e47f209df34ce324a10a92f53e25e0 /src/main/resources/application.yml
parent1118bedbd3981c12aebcb9fa99e8744a9bf413c3 (diff)
DMI Data AVC RFC8641 and CloudEvent Compliant
- Introduced CloudEvents for DMI Data AVC Events - Kafkatemplate config to support legacy as well as CloudEvents - AvcEvent to be compliant with RFC8641 schema format - Updating the released version of CPS and NCMP 3.3.3 - Refactored the test code to handle the changes related to CloudEvents Issue-ID: CPS-1719 Change-Id: I082bbceda6dc26c860e1eff977ede219296d1875 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'src/main/resources/application.yml')
-rw-r--r--src/main/resources/application.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 04001435..d964748f 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -51,7 +51,7 @@ spring:
protocol: PLAINTEXT
producer:
key-serializer: org.apache.kafka.common.serialization.StringSerializer
- value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
+ value-serializer: io.cloudevents.kafka.CloudEventSerializer
client-id: ncmp-dmi-plugin
consumer:
group-id: ${NCMP_CONSUMER_GROUP_ID:ncmp-group}
@@ -59,9 +59,13 @@ spring:
value-deserializer: org.springframework.kafka.support.serializer.ErrorHandlingDeserializer
properties:
spring.deserializer.key.delegate.class: org.apache.kafka.common.serialization.StringDeserializer
- spring.deserializer.value.delegate.class: org.springframework.kafka.support.serializer.JsonDeserializer
+ spring.deserializer.value.delegate.class: io.cloudevents.kafka.CloudEventDeserializer
spring.json.use.type.headers: false
+ jackson:
+ serialization:
+ FAIL_ON_EMPTY_BEANS: false
+
app:
ncmp:
async: