From: Kai Moritz Date: Wed, 2 Nov 2022 17:53:06 +0000 (+0100) Subject: WIP:StringDeserializer X-Git-Tag: simple-consumer--json-DEPRECATED~19 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=ea97dff1e6491c12aabe723be315b239f5e35ba5;p=demos%2Fkafka%2Ftraining WIP:StringDeserializer --- diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c2cb792..ae7aae8 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -30,13 +30,10 @@ spring: auto-offset-reset: earliest auto-commit-interval: 5s key-deserializer: org.apache.kafka.common.serialization.StringDeserializer - value-deserializer: org.springframework.kafka.support.serializer.JsonDeserializer + value-deserializer: org.springframework.kafka.support.serializer.StringDeserializer properties: partition.assignment.strategy: org.apache.kafka.clients.consumer.StickyAssignor metadata.max.age.ms: 1000 - spring.json.type.mapping: > - ADD:de.juplo.kafka.MessageAddNumber, - CALC:de.juplo.kafka.MessageCalculateSum logging: level: root: INFO