Skip to content

Implement MQTT related functions/resources #808

@purpleidea

Description

@purpleidea

We might want to have MQTT related functionality in mgmt. Resources to "send" values and a function to "receive" values.

I'm going to keep this wide open for now, so that @lourencovales can have fun designing the "API". Let's focus on a resource first, and functions as step two.

Let's work on your design in this issue. It probably makes sense to have the following:

  1. Some mcl pseudo code of how this would work.
  2. Some suggestions about which libraries to use and pros/cons of each.
  3. An analysis of those libraries to see how you could get an event. (We don't want polling.)
  4. Some pseudo code of how it might tie in with future mqtt related functions. (Bigger mcl example.)
  5. A minimal prototype of MQTT doing it's thing before you try to glue it into the mgmt code base.
  6. A way to mock MQTT "client"/"server" sides to test it all for yourself when developing.
  7. A discussion about how we would eventually test all this.

Any questions, let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions