thin-edge.io icon indicating copy to clipboard operation
thin-edge.io copied to clipboard

Create sparkplug mapper

Open toewsar opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. When connecting to a custom broker it always a problem to find a way how topic and measurements are defined. Unfortunatly azure iot hub and cumulocity have a very constrained messaging format which doesn't fit to any custom broker. With sparkplug B there is a specification which is widely spreaded and used in industrial environments. Developing a mapper which maps the data to a sparkplug comaptible format will enable thin-edge.io for a lot more applications.

Describe the solution you'd like I'd recommend to develop a mapper (+ bridge config) which can connect to any sparkplug aware broker like hiveMQ.

Describe alternatives you've considered It could be developed as a "different component" without integration into the RUST codebase, but I think this could be a valuable extension.

Additional context You'll find more informations on the sparkplug website, or on the HiveMQ website.

toewsar avatar Sep 14 '23 08:09 toewsar

@toewsar yes that's definitely an interesting idea. The new design of tedge MQTT api definitely goes in the direction of sparkplug B spec, so the mapping might not be too difficult, however this is probably something that the core team won't be able to start exploring until after the 1.x release.

Though that being said, we're more than happy for contributors to create a PoC and discuss it in more detail.

reubenmiller avatar Sep 14 '23 10:09 reubenmiller