How to install Kafka on Windows?

前端 未结 11 1914
無奈伤痛
無奈伤痛 2020-12-02 09:27

I\'m trying to install Kafka message queue on Windows for testing purposes (not for production).

I found this article on how to install Apache Kafka

11条回答
  •  庸人自扰
    2020-12-02 09:58

    1. Download any binary version(I've downloaded kafka_2.11-0.10.2.0) of Kafka from https://kafka.apache.org/downloads
    2. Extract it to any folder(I've extracted to "C:\Kafka")
    3. Open Command Prompt
    4. Go to the folder that you extract Kafka(C:\Kafka\kafka_2.11-0.10.2.0)
    5. Run this command .\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties to start Zookeeper
    6. Run this command .\bin\windows\kafka-server-start.bat .\config\server.properties to start Kafka


    Now it works!

提交回复
热议问题