diff options
Diffstat (limited to 'src/main/resources/application.yml')
-rw-r--r-- | src/main/resources/application.yml | 8 |
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: |