docker 上的融合平台组件服务 url 是什么
What is the confluent platform components service url on docker
在 docker 的帮助下,我已经在 windows 上启动了融合平台。我能够启动 Kafka Broker、Zookeeper 和控制中心。
我在 docker 中也设置了 confluent-cli
。现在,当我尝试 运行 confluent-cli
上的命令时,它期待 --url
参数。 Confluent 文档说 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
。由于我现在 运行ning docker 在本地,我的服务 url 是什么?
现在,我也启动了 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
在 docker 的帮助下,我已经在 windows 上启动了融合平台。我能够启动 Kafka Broker、Zookeeper 和控制中心。
我在 docker 中也设置了 confluent-cli
。现在,当我尝试 运行 confluent-cli
上的命令时,它期待 --url
参数。 Confluent 文档说 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
。由于我现在 运行ning docker 在本地,我的服务 url 是什么?
现在,我也启动了 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