The Windows batch file to start-up Kafka Manager is not working (Windows 10).
I git cloneed the project,
Then sbt clean dist,
Then:
C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin>kafka-manager.bat
The input line is too long.
The syntax of the command is incorrect.
Then tried executing from the root folder:
C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin>cd ..
C:\Users\{user}\Desktop\kafka-manager-1.3.3.21>bin\kafka-manager.bat -Dhttp.port=9092
The input line is too long.
The syntax of the command is incorrect.
I removed the echo off and the last line I saw printed was line 81, hinting me the line with the problem is line 83, which is indeed ginormous.
I've noticed this in the command line _(without the echo off)_, which looks like an invalid path _(3 consecutive "\")_?
C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin>if "" == "" (
set "APP_HOME=C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin\\\.."
rem Also set the old env name for backwards compatibility
set "KAFKA_MANAGER_HOME=C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin\\\.."
) else (set "APP_HOME=" )
C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin>set "APP_LIB_DIR=C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin\\\..\lib\"
The input line is too long.
Workaround is to have shorter path than _C:Users\{user}Desktopkafka-manager-1.3.3.21bin_
Most helpful comment
Workaround is to have shorter path than _C:Users\{user}Desktopkafka-manager-1.3.3.21bin_