From: Kai Moritz Date: Sat, 8 Jun 2024 16:18:41 +0000 (+0200) Subject: top10: 1.2.1 - `Top10ApplicationIT` asserts type-mapping for output-data X-Git-Tag: top10-1.2.1~3 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=ef9fff623043d2dffddbe8e70d984106cdde6c6b;p=demos%2Fkafka%2Fwordcount top10: 1.2.1 - `Top10ApplicationIT` asserts type-mapping for output-data --- diff --git a/src/test/java/de/juplo/kafka/wordcount/top10/Top10ApplicationIT.java b/src/test/java/de/juplo/kafka/wordcount/top10/Top10ApplicationIT.java index 5e1f45c..ea8fe18 100644 --- a/src/test/java/de/juplo/kafka/wordcount/top10/Top10ApplicationIT.java +++ b/src/test/java/de/juplo/kafka/wordcount/top10/Top10ApplicationIT.java @@ -38,9 +38,7 @@ import static org.awaitility.Awaitility.await; "spring.kafka.consumer.auto-offset-reset=earliest", "spring.kafka.consumer.key-deserializer=org.springframework.kafka.support.serializer.JsonDeserializer", "spring.kafka.consumer.value-deserializer=org.springframework.kafka.support.serializer.JsonDeserializer", - "spring.kafka.consumer.properties.spring.json.use.type.headers=false", - "spring.kafka.consumer.properties.spring.json.key.default.type=de.juplo.kafka.wordcount.query.TestUser", - "spring.kafka.consumer.properties.spring.json.value.default.type=de.juplo.kafka.wordcount.query.TestRanking", + "spring.kafka.consumer.properties.spring.json.type.mapping=user:de.juplo.kafka.wordcount.query.TestUser,ranking:de.juplo.kafka.wordcount.query.TestRanking", "logging.level.root=WARN", "logging.level.de.juplo=DEBUG", "logging.level.org.apache.kafka.clients=INFO",