Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ClearBlade provides a native integration for high performance interactions with Google Pub/Sub. This is idea for sending MQTT messages into the Google Cloud services or for integrating data from other Google Cloud services directly with your ClearBlade application.

Publish

ClearBlade uses the Pub/Sub Golang library, which leverages a persistent TCP connection under the covers.

google_pubsub: A new table for adding Pub/Sub connection details and topics

name: String column PK

system_key: String column

project_id: String column

credentials: String column (Encrypted. Will contain the credentials JSON file)

topics: JSONB column (Pub/Sub topics array)

The topics entered during Pub/Sub connection creation will be added as subscribers to the topic tree. The Pub/Sub connection will implement the client interface in core_messaging/broker/client_manager.go. Use the Publish function to forward messages.

...