Skip to content

Commit 6e92daa

Browse files
committed
Change Kafka cleanup.on-shutdown default to false
Align our property with the recently changed spring-kafka default. Closes gh-25730
1 parent d0d78a6 commit 6e92daa

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ public static class Cleanup {
12641264
/**
12651265
* Cleanup the application’s local state directory on shutdown.
12661266
*/
1267-
private boolean onShutdown = true;
1267+
private boolean onShutdown = false;
12681268

12691269
public boolean isOnStartup() {
12701270
return this.onStartup;

0 commit comments

Comments
 (0)