From eff3a4f1a65891b853624993d4e5a0a8991eafcb Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 18 Mar 2021 07:57:07 +0100 Subject: [PATCH] Upgrade to Spring Kafka 2.7.0-RC1 Closes gh-25582 --- .../boot/autoconfigure/kafka/KafkaProperties.java | 2 +- spring-boot-project/spring-boot-dependencies/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java index e76dd85de2..be9f8668a3 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java @@ -1264,7 +1264,7 @@ public class KafkaProperties { /** * Cleanup the application’s local state directory on shutdown. */ - private boolean onShutdown = false; + private boolean onShutdown = true; public boolean isOnStartup() { return this.onStartup; diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 5697f03aa4..083ae6b951 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1649,7 +1649,7 @@ bom { ] } } - library("Spring Kafka", "2.7.0-SNAPSHOT") { + library("Spring Kafka", "2.7.0-RC1") { group("org.springframework.kafka") { modules = [ "spring-kafka",