Thanks for your feedback, Matthias, and please allow me to bump this KIP! Hi, Kafka community...! KIP-1283 is a small KIP based on the discussion in PR https://github.com/apache/kafka/pull/20969. It proposes aligning the KafkaStreams#cleanUp() public interface with its current behavior and documentation.
If you have any concerns or suggested changes, I would be grateful to hear them! If there are no further comments or objections, I plan to start a vote in a few weeks. Best Regards Sanghyeok An -----Original Message----- From: "Matthias J. Sax"<[email protected]> To: <[email protected]>; Cc: Sent: 2026-02-23 (월) 06:19:43 (GMT+09:00) Subject: Re: [DISCUSS] KIP-1283: Clarify KafkaStreams cleanUp semantics to preserve process metadata and state directory lock file Thanks for the KIP. I don't have any comments/questions at this point about it. Seems pretty straightforward to me. -Matthias On 2/17/26 7:33 AM, 안상혁 wrote: > Hi Kafka Community! > I would like to start a discussion for KIP-1283. > > This KIP proposes updating the KafkaStreams#cleanUp() contract to explicitly > preserve process identity metadata and lock files, avoiding misleading WARN > logs while ensuring stable process identity across restarts. > Currently, KafkaStreams#cleanUp() deletes the local state but attempts to > delete the application directory itself as the final step. > However, this directory deletion often fails because expected metadata files > (kafka-streams-process-metadata and .lock) remain. > > This results in misleading WARN logs, causing confusion for users and > operators who interpret it as a local state cleanup failure. > This KIP clarifies that retaining these specific files is considered a > successful cleanup and suppresses the unnecessary warnings. > > > KIP LINK: https://cwiki.apache.org/confluence/x/mYw8G > > Looking forward to community's feedback! > > Best regards, > Sanghyeok An
