iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

[Feature request] Make MQTT Service's Anonymous Access Configurable

Open chewcw opened this issue 10 months ago • 3 comments

Search before asking

  • [x] I searched in the issues and found nothing similar.

Motivation

I noticed in this PR: https://github.com/apache/iotdb/pull/1447 that anonymous access (ALLOW_ANONYMOUS_PROPERTY_NAME) to the MQTT service was added. Is there any plan to make it configurable?

My use case is that I have an MQTT client to which I do not have access to its source code, and it sends data to the MQTT broker using a specific username. I would like to make the MQTT service anonymously accessible.


我注意到在这个 PR:https://github.com/apache/iotdb/pull/1447 中,已添加了对 MQTT 服务的匿名访问(ALLOW_ANONYMOUS_PROPERTY_NAME)。是否有计划使其可配置?

我的使用场景是,我有一个 MQTT 客户端,但无法访问其源代码,该客户端使用特定的用户名将数据发送到 MQTT 经纪服务器。我希望使 MQTT 服务可以匿名访问。

Solution

No response

Alternatives

No response

Are you willing to submit a PR?

  • [x] I'm willing to submit a PR!

chewcw avatar Feb 02 '25 07:02 chewcw

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar Feb 02 '25 07:02 github-actions[bot]

这是设置禁止匿名访问,如果需要可以自己修改后进行编译

CritasWang avatar Apr 21 '25 02:04 CritasWang

这是设置禁止匿名访问,如果需要可以自己修改后进行编译

感谢您的回复。我当然可以自行修改。不过,如果能让用户通过配置文件自定义部分设置,可能会更方便。如果认为没有必要,请关闭此 issue。谢谢。

chewcw avatar May 27 '25 02:05 chewcw