Skip to content

Nucleus: support for MQTT over Websockets #1662

@aslafy-z

Description

@aslafy-z

Feature Description
I would like Nucleus to connect to IoT Core with MQTT over Websocket. I've seen this was possible in the past and automatically enabled when using a proxy, but could not find this feature now. Is it still a thing?

Use Case
IoT core is fronted by a nginx proxy. Every requests are TLS SNI analyzed and routed according to the proxy target.
I would prefer not having to setup a specific port with the stream protocol, instead use the built-in websocket support.

Proposed Solution
Add a mqtt.websocket which defaults to false and configures the transport to talk to the websocket endpoint of IoT Core.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions