Change Kafka cleanup.on-shutdown default to false

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

Closes gh-25730
This commit is contained in:
Phillip Webb
2021-03-17 16:38:46 -07:00
parent d0d78a6caa
commit 6e92daa0a0

View File

@@ -1264,7 +1264,7 @@ public class KafkaProperties {
/**
* Cleanup the applications local state directory on shutdown.
*/
private boolean onShutdown = true;
private boolean onShutdown = false;
public boolean isOnStartup() {
return this.onStartup;