Hello Kafka Community,
We are investigating a recurring Kafka broker startup failure on Windows Server and would appreciate guidance from the Kafka maintainers and community.
Environment
*
Apache Kafka: 4.0.1
*
Operating system: Windows Server
*
Java: Eclipse Temurin JDK 17.0.18
*
Metadata mode: KRaft, single-node combined broker/controller
*
Service management: NSSM
*
Kafka storage directory: D:\KafkaStorage
*
Configuration: D:\Kafka\config\kraft\server.properties
Problem description
Kafka repeatedly fails during startup while recovering KRaft metadata snapshots. The service manager reports the Windows service as Running or restarts the Java process, but Kafka does not successfully start its listeners. Ports 9092 and 9093 remain unavailable.
The recurring exception is:
java.nio.file.AccessDeniedException: D:\KafkaStorage\__cluster_metadata-0\00000000000004062214-0000001671.checkpoint.deleted
The stack trace indicates that the exception occurs dur...