Thanks for the insight!

I’ll test using a shorter path (e.g., D:\kafka\) to see if it resolves the
issue.

On Mon, Jan 27, 2025 at 2:25 PM Subra I <iamsubra...@gmail.com> wrote:

> I thought this issue has been there for a long time on Windows. I see a
> similar issue too while starting kafka on Windows if the path is too long.
>
> In my setup I have short path names. Ex: D:\kafka\.
>
> If I have longer paths like (D:\myuser\project1\kafka), it gives me an
> error similar to what you mentioned.
>
> On Mon, Jan 27, 2025 at 2:09 PM Ukpa Uchechi <ukpauchec...@gmail.com>
> wrote:
>
> > Hi all,
> >
> > I’m working on adding Windows support for the quickstart section of the
> > Apache Kafka documentation. While testing the Windows batch file (
> > .\bin\windows\kafka-storage.bat), I encountered an error:
> >
> > (call :concat
> > "C:\Users\HP\Downloads\kafka_2.13-3.9.0\libs\scala-library-2.13.14.jar")
> > The input line is too long. The syntax of the command is incorrect.
> >
> > Environment:
> >
> >    - OS: Windows 11
> >    - Java: 23.0.1 (Java(TM) SE Runtime Environment, build 23.0.1+11-39)
> >    - Kafka Version: 3.9.0 (Scala 2.13)
> >
> > It seems that the issue might be caused by a Windows command length
> > limitation. Unfortunately, I’m not familiar with batch scripting, so I’m
> > unsure how to fix this.
> > Questions:
> >
> >    1. Has anyone else experienced this before?
> >    2. Is there any guidance on how this could be resolved?
> >
> > I’d appreciate any help or suggestions on how to proceed. If you need
> more
> > details, please let me know.
> >
> > Thank you,
> > Uchechi.
> >
>

Reply via email to