Nag
Nag

Reputation: 2057

confluent CLI - windows environment

I am exploring to see if we could run confluent on windows. As per the following articles, it seems windows is not supported.

https://docs.confluent.io/current/installation/versions-interoperability.html#operating-systems Confluent Platform in Windows

However, when I look at confluent CLI, windows seems to be supported

https://docs.confluent.io/current/cli/installing.html#tarball-installation

But again, there is a phrase here about windows is not being supported.

On non-Windows platforms, the Confluent CLI offers confluent local commands (designed to operate on a local install of Confluent Platform) which require Java, and JDK version 1.8 or 1.11 is recommended. If you have multiple versions of Java installed, set JAVA_HOME to the version you want Confluent Platform to use.

So, the questions are

PS : Please give inputs without referring to virtualized environments such as Docker

Upvotes: 3

Views: 2674

Answers (4)

Santhosh Thomas
Santhosh Thomas

Reputation: 11

I was able to download the Confluent CLI from the location https://github.com/confluentinc/cli/releases/tag/v3.53.0

Once the appropriate version as per your local OS version is downloaded and unzipped, in my case I was able to successfully launch the confluent.exe from windows 10 cmd.exe and execute the CLI commands

Upvotes: 1

Igal Ore
Igal Ore

Reputation: 311

Confluent CLI are facade for local installation of confluent variants of Kafka, were with local command you can manage your local installation. Look here : Confluent CLI local documentation

It assumes that you got the product installed locally. I had installed by following this page Confluent Ubuntu local installation and got all components working, well almost.

So it can work on Windows 10 but throw WSL only. There are some explanations how to install Kafka on Windows, but hole idea behind Confluent is to use Confluent Cloud for production environments.

Upvotes: 0

marcin2x4
marcin2x4

Reputation: 1429

I'm facing same challenge. I got Confluent Platform on Docker/Windows 10 machine nad wany to access CLI using WSL as stated here:

https://docs.confluent.io/current/cli/installing.html

The issue is that when running commands in ubuntu terminal I get unknown command when triggering confluent.

Upvotes: 0

Pratik
Pratik

Reputation: 176

Yes, you are right windows is not supported. The CLI you get for windows is only to manage and retrieve metadata for the remote confluent platform. First, you will have to log in to confluent by issuing command confluent.exe login --url <url>. More info at confluent-login. Following are the commands you get with confluent windows distribution:

Available Commands:
audit-log       Manage audit log configuration.
cluster         Retrieve metadata about Confluent Platform clusters.
completion      Print shell completion code.
connect         Manage Connect.
help            Help about any command
iam             Manage RBAC, ACL and IAM permissions.
kafka           Manage Apache Kafka.
ksql            Manage ksqlDB applications.
login           Log in to Confluent Platform (required for RBAC).
logout          Log out of Confluent Platform.
schema-registry Manage Schema Registry.
secret          Manage secrets for Confluent Platform.
update          Update the Confluent CLI.
version         Print the Confluent CLI version.

And windows is also not supported for local development. You can't issue confluent commands like confluent local

Upvotes: 3

Related Questions