Kafka : Running Confluent in a Windows environment

13,822

Solution 1

Confluent Platform is not supported on Windows. Best option if you have to use Windows is the Docker images, which are fully supported.

Solution 2

The Confluent software has plenty of shell scripts and you can leverage them on Windows if you can use Cygwin ( https://www.cygwin.com/ ).

Pre-requisite: The Java SDK to use should be installed on a file path without space.

Pre-requisite: Cygwin with curl installed

Download the Confluent distribution and install (unpack) on a file path without space.

For each of the following start a Cygwin session and set JAVA_HOME to the SDK and goto /bin

Start zookeeper with

./zookeeper-server-start ../etc/kafka/zookeeper.properties

Start Kafka broker with

./kafka-server-start ../etc/kafka/server.properties

Start Confluent Schema Registry with

./schema-registry-start ../etc/schema-registry/schema-registry.properties

Solution 3

yes you can run it in windows. Below is window patch for confluent 5.0.1.

https://github.com/mduhan/confluent-windows-5.0.1

Share:
13,822
Sujeet kumar
Author by

Sujeet kumar

Updated on June 04, 2022

Comments

  • Sujeet kumar
    Sujeet kumar almost 2 years

    I set up Kafka for local run. I have written sample producer and consumer in Java and running from local, by starting server and zookeeper.
    I want to use oracle as producer, that will require to write the configuration file(already written), confluent shell script to run it on Unix.

    Is there any way to run confluent on Windows, I could not find the batch file confluent in setup?

    Also, is there any way to run Oracle as producer, without using confluent script?

  • Nick
    Nick almost 5 years
  • Tiago Medici
    Tiago Medici over 3 years
    tihs is a dockerized solution, also confluent has it's own docker images of zookeeper and kafka ...