融合的CLI-Windows环境

时间:2020-07-19 15:19:22

标签: apache-kafka confluent-platform

我正在探索是否可以在Windows上运行融合。根据以下文章,似乎不支持Windows。

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

但是,当我查看融合的CLI时,似乎支持Windows

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

但是,这里又有一个关于不支持Windows的短语。

在非Windows平台上,Confluent CLI提供需要Java的Confluent本地命令(旨在在Confluent Platform的本地安装上运行),建议使用JDK版本1.8或1.11。如果您安装了多个Java版本,请将JAVA_HOME设置为您希望Confluent Platform使用的版本。

所以,问题是

  • 最近是否支持Windows? (我怀疑不是吗?)
  • Windows支持哪些CLI?为了什么 可以用于?
  • 看来 local 开发视角也不支持Windows吗? (我的意思是可以发出“合流本地”命令吗?

PS:请提供输入内容,而不要提及Docker等虚拟环境

3 个答案:

答案 0 :(得分:1)

是的,您支持的窗口不受支持。 您从Windows获得的CLI仅用于管理和检索远程融合平台的元数据。首先,您必须通过发出命令confluent.exe login --url <url>登录到汇合。 有关更多信息,请访问confluent-login。 以下是通过融合Windows分发获得的命令:

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.

本地开发也不支持Windows。您不能发出confluent local

这样的融合命令

答案 1 :(得分:0)

我正面临着同样的挑战。我在Docker / Windows 10机器上安装了Confluent平台,无法使用WSL访问CLI,如下所示:

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

问题在于,在ubuntu终端中运行命令时,触发unknown command时得到confluent

答案 2 :(得分:0)

Confluent CLI 是本地安装 Kafka 的 Confluent 变体的门面,使用本地命令您可以管理本地安装。 看这里:Confluent CLI local documentation

假设您在本地安装了产品。我已按照此页面 Confluent Ubuntu local installation 进行安装,并且所有组件都可以正常工作,几乎正常。

所以它可以在 Windows 10 上运行,但只能抛出 WSL。有一些关于如何在 Windows 上安装 Kafka 的解释,但 Confluent 背后的核心思想是将 Confluent Cloud 用于生产环境。