akenza.io
WebsiteAPI DocumentationWhat's newLogin
  • Overview
  • Getting Started
    • Connect a Device
  • Changelog
  • General
    • Applications
    • Organization context
    • Workspace Context
    • Users
      • User Roles
  • Device Management
    • Managing an organization
      • API keys
      • Users (Organization)
        • Add & removing users from your organization
    • Managing a workspace
      • General Settings
        • Device Lifecycle Reports
        • Workspace properties
        • Occupancy settings
        • Device Setup Assistant
      • Custom fields
      • Tags
      • Users (Workspace)
    • Devices
      • Device
      • Device Simulator
      • Bulk actions
      • Bulk import CSV templates
    • Rules
      • Input
      • Logic blocks
        • Comparison
        • Custom Logic
          • Logic Block Scripting
      • Timed Rules
      • Rule Actions
        • Downlink
    • Data Flows
      • Device Connectors
        • Device Security
          • Using Device Credentials
            • Creating Public/Private Key Pairs
            • Using JSON Web Tokens (JWTs)
              • Python
              • Java
        • HTTP
        • MQTT
        • CoAP
        • LoRaWAN
          • Connectivity Management
          • Swisscom LoRaWAN
          • The Things Network
          • Loriot
          • Actility’s ThingPark Wireless
          • EWZ
          • Cibicom
          • Helium
          • ChirpStack
        • NB-IoT
        • mioty
        • Disruptive Technologies
        • VergeSense
        • Spaceti
        • Haltian
      • Device Types
        • Custom Device Types
          • Uplink
          • Downlink
          • Scripting
        • Library
      • Output Connectors
        • Databases
          • akenza DB
          • InfluxDB
          • SQL Databases
        • Streaming
          • Webhook
          • Azure IoT Hub
          • AWS Kinesis
          • Google Cloud Pub/Sub
          • Apache Kafka
        • Notifications
          • E-Mail
          • SMS
          • Microsoft Teams
          • Slack
    • Custom Components
    • Integrations
    • Reference
      • REST API
        • Filtering
        • Querying Device Data
      • WebSocket API
      • Scripting
        • Stateful Operations
        • Utility Functions
      • Payload Templating
  • Reference
  • Dashboard Builder
    • Managing Dashboards
      • Embedding dashboards
    • Components
      • Map
      • Floorplan
  • Device Setup Assistant
    • Device Setup Assistant - Overview
  • Tutorials
    • BI Tools
      • Grafana Data Source Plugin
      • How to build a dashboard with Retool
      • How to analyze data with AWS QuickSight
    • Devices
      • How to integrate the XDK device from Legic via MQTT on akenza
      • How to connect the Disruptive Technologies-cloud on akenza
      • How to send Downlinks to the Kuando Busylight device
      • How to integrate an Arduino device via MQTT on akenza
      • Integrate a MClimate Vicki LoRaWAN Radiator Thermostat on akenza
      • How to integrate an ERS Elsys device with Loriot on akenza
      • How to integrate the IAM Decentlab device with TTN on akenza
      • How to integrate the Seeed SenseCAP T1000 tracker on akenza
      • How to integrate a Swisscom Multisense device on akenza
    • Notifications
      • How to send SMS notifications
      • How to send notifications to Slack
      • How to send notifications to Microsoft Teams
    • Enterprise solutions
      • How to send data to Azure IoT Hub
      • How to send data to the Google Cloud Pub/Sub
      • How to send data to InfluxDB
      • How to send data to AWS Kinesis
      • How to send data to Azure Event Hubs with Apache Kafka
    • IoT Starter Kits
      • How to integrate the IAQ Kit with Actility on akenza
      • How to integrate the CoWork Kit with Actility on akenza
      • How to integrate the Smart Building Kit with Actility on akenza
      • How to integrate the Pepperl+Fuchs Kit with Actility on akenza
  • Support Center
    • FAQ
    • Status Page
    • Service Desk
    • Request a feature
  • Deprecated
    • SIM-Cards
    • Everynet
    • Sigfox
    • How to connect the Yanzi Lifecycle cloud on akenza
Powered by GitBook
On this page
  • 1. Setup a Google Cloud Pub/Sub
  • 2. Add an akenza service account
  • 3. Setup a Data Flow in akenza
  • 4. Setup a Subscription
  • 5. Useful Links

Was this helpful?

  1. Tutorials
  2. Enterprise solutions

How to send data to the Google Cloud Pub/Sub

In this tutorial you will learn how to send data to the Google Cloud Pub/Sub

PreviousHow to send data to Azure IoT HubNextHow to send data to InfluxDB

Last updated 2 months ago

Was this helpful?

Benefits of the Google Cloud Pub/Sub output connector:

  • Directly stream device data from akenza to Google Cloud Pub/Sub and subsequently process it in Google Cloud Pub/Sub

  • Easily process low-power device data e.g. LoRaWAN device data in Google Cloud Pub/Sub

1. Setup a Google Cloud Pub/Sub

First, you will need to set up a project on the Google Cloud Console.

In the Topic ID field, provide a unique topic name, for example, MyTopic and select Save.

2. Add an akenza service account

Navigate to your Project settings and select on IAM policy section. Select + Add and paste the akenza publisher service account key. Give the role of a Pub/Sub Publisher.

3. Setup a Data Flow in akenza

Create a new Data Flow in akenza with Google Cloud Pub/Sub as output connector. Define a Connector Name and insert the topic id obtained from the project. Optionally use a custom payload.

4. Setup a Subscription

In your Pub/Sub section go to Subscriptions, select Create Subscription, give it a name, and select the previously created topic.

Following steps to view device data:

  • Click on the created topic

  • Scroll down to the bottom of the topic details

  • There are three tabs, select Messages

  • Open the dropdown on the bottom "Select a Cloud Pub/Sub Subscription to pull messages from *" and select the subscription previously created

  • Click Pull to fetch the messages which can then be filtered in Filter options and sorted by various p

5. Useful Links

In this tutorial, you will learn, how to send data to . The following steps are explained in more detail:

1.1 If you are new to Google Cloud, to evaluate how the products perform in real-world scenarios.

1.2 Set up a Cloud Console project in a PubSub section . Create or select a project and enable the Pub/Sub API for that project. You can view and manage these resources at any time in the .

1.3 Set up a topic where your data shall be sent to. Go to the Pub/Sub topics page in the Cloud Console. and select Create a topic.

using the Data Flow and start sending data.

Google Cloud Pub/Sub
create an account
https://cloud.google.com/pubsub
Cloud Console
Go to the Pub/Sub topics page
Create a new device
Google Cloud Pub/Sub on akenza
Setup a Google Cloud Pub/Sub
Add an akenza service account
Setup a Data Flow in akenza
Setup a subscription
Useful Links
IAM section
Google Pub/Sub template
LogoPub/Sub for Application & Data Integration  |  Google CloudGoogle Cloud