You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

本地运行Confluent Platform时,Schema Registry的默认访问凭证是什么?

本地Confluent Schema Registry默认凭证与命令报错解决

一、本地Schema Registry默认凭证

通过confluent local services start启动本地服务且未修改默认配置时:

  • Schema Registry默认未启用认证机制,访问http://localhost:8081不需要任何用户名或密码
  • 可直接用无认证的请求测试,比如执行curl http://localhost:8081/subjects,就能获取当前Schema Registry中的主题列表

二、命令报错“Error: you must log in to use this command”的解决

你执行的confluent schema-registry schema list是Confluent Cloud专属CLI命令,默认指向云环境,因此会要求登录Confluent Cloud账户。

要管理本地Schema Registry,需使用带local前缀的命令,正确的列表命令为:

confluent local schema-registry schema list --schema-registry-endpoint http://localhost:8081

添加local前缀后,CLI会针对本地运行的服务执行操作,不再关联Confluent Cloud。

内容的提问来源于stack exchange,提问作者rkrishnan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.12 22:03:14