From 13b4a7142be7fc098b4669f4e39f9158414a024a Mon Sep 17 00:00:00 2001 From: Anastasios Ioannidis <121166333+anastasiosioannidis@users.noreply.github.com> Date: Thu, 22 Feb 2024 14:22:50 +0200 Subject: [PATCH] Reverted parent-boot-3 upgrade, Upgrade Spring boot to 3.2.2 and Junit Jupiter for spring-boot-properties (#15943) --- parent-boot-3/pom.xml | 4 ++-- spring-boot-modules/spring-boot-properties/pom.xml | 2 ++ .../java/com/baeldung/spring/kafka/KafkaConsumerConfig.java | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/parent-boot-3/pom.xml b/parent-boot-3/pom.xml index f45e108f02..d4ca41291d 100644 --- a/parent-boot-3/pom.xml +++ b/parent-boot-3/pom.xml @@ -229,8 +229,8 @@ 3.3.0 3.3.0 2.22.2 - 3.2.2 - 5.10.2 + 3.1.5 + 5.8.2 0.9.17 1.4.4 2.0.3 diff --git a/spring-boot-modules/spring-boot-properties/pom.xml b/spring-boot-modules/spring-boot-properties/pom.xml index fa3fc954b3..b4a33186d3 100644 --- a/spring-boot-modules/spring-boot-properties/pom.xml +++ b/spring-boot-modules/spring-boot-properties/pom.xml @@ -154,6 +154,8 @@ @ com.baeldung.yaml.MyApplication + 3.2.2 + 5.10.2 \ No newline at end of file diff --git a/spring-kafka/src/main/java/com/baeldung/spring/kafka/KafkaConsumerConfig.java b/spring-kafka/src/main/java/com/baeldung/spring/kafka/KafkaConsumerConfig.java index 6d3ba2b4d9..e8aa63a88d 100644 --- a/spring-kafka/src/main/java/com/baeldung/spring/kafka/KafkaConsumerConfig.java +++ b/spring-kafka/src/main/java/com/baeldung/spring/kafka/KafkaConsumerConfig.java @@ -116,7 +116,7 @@ public class KafkaConsumerConfig { public ConcurrentKafkaListenerContainerFactory multiTypeKafkaListenerContainerFactory() { ConcurrentKafkaListenerContainerFactory factory = new ConcurrentKafkaListenerContainerFactory<>(); factory.setConsumerFactory(multiTypeConsumerFactory()); - factory.setRecordMessageConverter(multiTypeConverter()); + factory.setMessageConverter(multiTypeConverter()); return factory; }