Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSPP] Provide A Common MQTT Mapper #5588

Open
3 tasks
WillardHu opened this issue May 7, 2024 · 0 comments
Open
3 tasks

[OSPP] Provide A Common MQTT Mapper #5588

WillardHu opened this issue May 7, 2024 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@WillardHu
Copy link
Collaborator

WillardHu commented May 7, 2024

What would you like to be added/modified:

  • Provide a proposal;
  • Craete a MQTT Mapper project and is working properly;
  • The attribute value in MQTT message can be parsed by the CRDs of DeviceModel and Device, these serialization methods need to be completed: json, yaml and xml;

Why is this needed:

The MQTT protocol is the common device protocol in most device hardware markets. We want to have a common MQTT Mapper to handle these devices using the MQTT protocol, and it can support getting attribute values from the common serialization methods(i.e. json, yaml and xml). In order to fulfill the above requirements, we need you to complete these tasks:

  1. We expect you to use the latest mapper-framework to add a Mapper for MQTT protocol to the project kubeedge/mappers-go;
  2. We expect this Mapper can read the message from the topic of the specified MQTT service, And the attribute value can be parsed from the message by common serialization methods (i.e. json and xml);
  3. (Optional)We expect you to provide a more scalable solution to parse attribute values from more custom messages;

Refer:

@WillardHu WillardHu added the kind/feature Categorizes issue or PR as related to a new feature. label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant