Google Cloud Platform Pub/Sub backend

The Google Cloud Platform Pub/Sub backend uses a Pub/Sub queue for receiving gateway events and a Pub/Sub topic for publishing gateway commands.

In order to connect the gateways (running the ChirpStack Gateway Bridge), the Cloud IoT Core service is used, which provides an MQTT bridge.

Gateway events received by the Cloud IoT Core service are forwarded to a Pub/Sub queue which is consumed by the ChirpStack Network Server instance or instances.

Downlink gateway commands are published by the ChirpStack Network Server to a Pub/Sub topic. A Cloud Function then calls the Cloud IoT API to forward the command to the ChirpStack Gateway Bridge over MQTT.

Architecture

architecture