Thanks for bringing this to my attention. I agree that it should be a blocker.
On Wed, Sep 6, 2023 at 9:41 AM Greg Harris <greg.har...@aiven.io.invalid> wrote: > > Hi Ziming, > > Thanks for finding that! I've mentioned that in the 3.6.0 release > thread as a potential blocker since this appears to have a pretty > substantial impact. > > Hey Sumanshu, > > Thank you so much for bringing this issue to our attention! It appears > that your issue is caused by a bug in Kafka, so you shouldn't feel > obligated to answer my questions from earlier. > We'll see about trying to get a fix for this issue in the upcoming > release. I apologize that the released versions of KRaft don't work on > windows, and are preventing you from evaluating it. You will need to > use Zookeeper clusters, or run custom builds of Kafka until the fix is > released. > > Thanks, > Greg > > On Tue, Sep 5, 2023 at 7:44 PM ziming deng <dengziming1...@gmail.com> wrote: > > > > 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 > > >> > > >> -- -José