Commit 6e92daa0 authored by Phillip Webb's avatar Phillip Webb

Change Kafka cleanup.on-shutdown default to false

Align our property with the recently changed spring-kafka default.

Closes gh-25730
parent d0d78a6c
...@@ -1264,7 +1264,7 @@ public class KafkaProperties { ...@@ -1264,7 +1264,7 @@ public class KafkaProperties {
/** /**
* Cleanup the application’s local state directory on shutdown. * Cleanup the application’s local state directory on shutdown.
*/ */
private boolean onShutdown = true; private boolean onShutdown = false;
public boolean isOnStartup() { public boolean isOnStartup() {
return this.onStartup; return this.onStartup;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment