seu comando deve ser
bin\windows\zookeeper-server-start.bat config\zookeeper.properties
Eu tenho a seguinte estrutura de pastas:
de C:\Program Files\kafka\kafka_2.11-0.11.0.0
frolder Eu tento executar o seguinte comando:
bin\windows\zookeeper-server-start.bat config\zookeeper.properties
e responde com a seguinte mensagem:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Eu tentei usar várias outras variantes, mas ainda vejo erros:
C:\Program Files\kafka\kafka_2.11-0.11.0.0>bin\windows\zookeeper-server-start.bat
USAGE: bin\windows\zookeeper-server-start.bat zookeeper.properties
C:\Program Files\kafka\kafka_2.11-0.11.0.0>bin\windows\zookeeper-server-start.bat C:\Program Files\kafka\kafka_2.11-0.11.0.0\config\zookeeper.properties
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\kafka\kafka_2.11-0.11.0.0>bin\windows\zookeeper-server-start.bat 'C:\Program Files\kafka\kafka_2.11-0.11.0.0\config\zookeeper.properties'
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
O que estou errado?
seu comando deve ser
bin\windows\zookeeper-server-start.bat config\zookeeper.properties
Tags windows batch-file cmd.exe