apache / apache/iotdb

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

Ouverte
#14,785 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
6.4k
Forks
1.2k
Merge moyen
1 j 23 h
PR mergées (30 j)
115

Description

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/iotdb/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!

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par suivre ALLOW_ANONYMOUS_PROPERTY_NAME dans la configuration du service MQTT et comparez le comportement introduit dans PR 1447. La modification est terminée lorsque l’accès anonyme peut être contrôlé via la configuration, tout en conservant le comportement d’authentification MQTT existant ; le payload ne précise aucun test ni fichier particulier à exécuter.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
databases
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.