diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2023-06-15 16:44:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-06-15 16:44:02 +0000 |
commit | 75dff29f61825b44a8bf09a3a95cb8ceea2ce444 (patch) | |
tree | abb87442103b6e07ffd7a04f5e4f38cb15d5aa09 /cps-application/src/main/resources/application.yml | |
parent | 19f963b1653ebfa38ed6441107175fafb59940c8 (diff) | |
parent | a287fc3286c38a6f472a9262777efc16798f705a (diff) |
Merge "Patch #2 : Introduce kafka template for cloud events"
Diffstat (limited to 'cps-application/src/main/resources/application.yml')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 802da9e87c..ed71339f93 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -75,7 +75,7 @@ spring: security: protocol: PLAINTEXT producer: - value-serializer: org.springframework.kafka.support.serializer.JsonSerializer + value-serializer: io.cloudevents.kafka.CloudEventSerializer client-id: cps-core consumer: group-id: ${NCMP_CONSUMER_GROUP_ID:ncmp-group} @@ -83,7 +83,7 @@ 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: |