Zookeeper issue in setting kafka

后端 未结 10 540
盖世英雄少女心
盖世英雄少女心 2021-01-11 14:00

To install kafka , I downloaded the kafka tar folder. To start the server I tried this command :

bin/zookeeper-server-start.sh config/zookeeper.properties
<         


        
10条回答
  •  心在旅途
    2021-01-11 14:39

    You can use Powershell as an alternative to CMD.

    Consider myKafka is your kafka home directory, Extract your kafka tar file here. Extracted folder(KafkaDir) will be having ./bin,/config, etc. internal folders.

    1. Now, open Powershell prompt, go to myKafka folder.
    2. Run below command:
    .\kafkaDir\bin\windows\zookeeper-server-start.bat
    .\kafkaDir\config\zookeeper.properties
    

    Zookeeper will get start.

提交回复
热议问题