我已经在docker的帮助下开始在Windows上融合平台。我能够启动Kafka Broker,Zookeeper和控制中心。
我也在docker中设置了confluent-cli
。现在,当我尝试在confluent-cli
上运行命令时,期望使用--url
参数。融合文档说Contact your IT admin to get the HTTP address for the <service url> (for example, http://127.0.0.1:8080/) for each Confluent Platform component
。由于我现在在本地运行docker,因此我的服务网址是什么?
现在,我也已经启动schema-registry
,并且可以使用schema-registry
端口检查群集的详细信息。
confluent cluster describe --url http://<my_ip>:<schema_registry_port>
运行describe命令时得到以下输出
Scope:
Type | ID
+-------------------------+------------------------+
kafka-cluster | d60cQ7BWQTSz5v9fNuvQRw
schema-registry-cluster | schema-registry
参考:https://docs.confluent.io/current/cli/command-reference/confluent_cluster_describe.html#example