It seems this is related to KAFKA-14273, there is already a pr for this problem, but it’s not merged. https://github.com/apache/kafka/pull/12763
-- Ziming > On Sep 6, 2023, at 07:25, Greg Harris <greg.har...@aiven.io.INVALID> wrote: > > Hey Sumanshu, > > Thanks for trying out Kraft! I hope that you can get it working :) > > I am not familiar with Kraft or Windows, but the error appears to > mention that the file is already in use by another process so maybe we > can start there. > > 1. Have you verified that no other Kafka processes are running, such > as in the background or in another terminal? > 2. Are you setting up multiple Kafka brokers on the same machine in your test? > 3. Do you see the error if you restart your machine before starting Kafka? > 4. Do you see the error if you delete the log directory and format it > again before starting Kafka? > 5. Have you made any changes to the `server.properties`, such as > changing the log directories? (I see that the default is > `/tmp/kraft-combined-logs`, I don't know if that is a valid path for > Windows). > > Thanks, > Greg > > On Mon, Sep 4, 2023 at 2:21 PM Sumanshu Nankana > <sumanshunank...@gmail.com> wrote: >> >> Hi Team, >> >> I am following the steps mentioned here https://kafka.apache.org/quickstart >> to Install the Kafka. >> >> Windows 11 >> Kafka Version >> https://www.apache.org/dyn/closer.cgi?path=/kafka/3.5.0/kafka_2.13-3.5.0.tgz >> 64 Bit Operating System >> >> >> Step1: Generate the Cluster UUID >> >> $KAFKA_CLUSTER_ID=.\bin\windows\kafka-storage.bat random-uuid >> >> Step2: Format Log Directories >> >> .\bin\windows\kafka-storage.bat format -t $KAFKA_CLUSTER_ID -c >> .\config\kraft\server.properties >> >> Step3: Start the Kafka Server >> >> .\bin\windows\kafka-server-start.bat .\config\kraft\server.properties >> >> I am getting the error. Logs are attached >> >> Could you please help me to sort this error. >> >> Kindly let me know, if you need any more information. >> >> - >> Best >> Sumanshu Nankana >> >>