Kafka : Running Confluent in a Windows environment
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
Sujeet kumar
Updated on June 04, 2022Comments
-
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 fileconfluent
in setup?Also, is there any way to run Oracle as producer, without using
confluent
script? -
Nick almost 5 yearsDocumentation can be found here docs.confluent.io/current/installation/docker/index.html
-
Tiago Medici over 3 yearstihs is a dockerized solution, also confluent has it's own docker images of zookeeper and kafka ...