conduktor.io ↗

KIP-1283 — Clarify KafkaStreams cleanUp semantics to preserve process metadata and state directory lock file

Discussion Streams

Updates the public contract of KafkaStreams#cleanUp to explicitly preserve the process identity metadata file (kafka-streams-process-metadata) and the application directory lock file (.lock), clarifying that the method clears local state but may retain the application directory. The existing behavior incorrectly attempted to delete the application directory even when valid metadata files were present, generating misleading warning logs.

Details

Authorsanghyeok an
StatusDiscussion
JIRAKAFKA-17251
WikiView on Apache Wiki
Created2026-02-17
Last Modified2026-02-17
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.