Mosquitto Broker and Google IOT Core

219 views
Skip to first unread message

Ahmed Etefy

unread,
Aug 24, 2020, 11:43:47 AM8/24/20
to Google Cloud Pub/Sub Discussions
Is there a possibility to forward from local Mosquitto broker to Cloud IOT Core?

I have a setup where edge devices are connected to a local MQTT broker and I would like to forward these messages to Cloud IOT core

Alex Hong

unread,
Aug 24, 2020, 1:28:44 PM8/24/20
to Ahmed Etefy, Google Cloud Pub/Sub Discussions
You can't connect a local MQTT broker to Cloud IoT Core directly. You would need to use a Gateway device to subscribe to your local MQTT topics and forward that over to the IoT Core MQTT bridge.

-Alex


On Mon, Aug 24, 2020 at 8:43 AM Ahmed Etefy <ahmed....@gmail.com> wrote:
Is there a possibility to forward from local Mosquitto broker to Cloud IOT Core?

I have a setup where edge devices are connected to a local MQTT broker and I would like to forward these messages to Cloud IOT core

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/05a72a65-252d-4628-b3e9-8a89d10d90d1n%40googlegroups.com.

Ahmed Etefy

unread,
Aug 24, 2020, 3:02:25 PM8/24/20
to Google Cloud Pub/Sub Discussions
And does that gateway have to be a physical device or can I just create a gateway on Clout IOT core and have it subscribe to local MQTT topics?

Alex Hong

unread,
Aug 24, 2020, 4:10:12 PM8/24/20
to Ahmed Etefy, Google Cloud Pub/Sub Discussions
The gateway is any device (virtual or physical) that can access the internet (so it can communicate with IoT Core) and connect to your local MQTT topics. You can even run the gateway code on whatever device your local MQTT broker is hosted on, assuming it has internet connectivity.

-Alex


Reply all
Reply to author
Forward
0 new messages