cs-icon.svg

Google PubSub

Google PubSub is a messaging service provided by Google Cloud Platform that enables communication between independent applications. Google PubSub connector follows the publish-subscribe model, where applications can publish messages to topics, and others can subscribe to receive those messages. This enables asynchronous communication, allowing components to operate independently.

Set Up Google PubSub

Perform the following steps to set up the Google PubSub action connector:

  1. Click Configure Action Step from the left navigation panel.
  2. Click Action Step to configure third-party services.
  3. Within the Configure Action Step, click the Google PubSub connector.
    Select_Connector.png
  4. Under Choose an Action tab, select the Publish Data to Topic action.

    Note: You can sort and search the connector(s) based on the filter.

    Select_An_Action.png
  5. Click the + Add New Account button to add your Google PubSub account. 
    Add_new_Account.png
  6. In the Authorize modal, provide details such as Title, and Service Account Key.

    To create a service account key, follow the steps below:

    1. Go to the Google Cloud Platform.
    2. Navigate to the APIs & Services page.
    3. Under the Credentials section, click + CREATE CREDENTIALS and select the Service account option to create a new service account.
    4. Navigate to the service account you created and under the KEYS tab, click ADD KEY -> Create new key.
    5. In the pop-up, select JSON and click CREATE. A file will be downloaded, and you will see the service account key details in JSON format.
  7. Click the Authorize button.
    Click_Authorize.png
  8. In the Select Topic dropdown, select a topic to publish the data.

    Note: A topic is a resource to which publishers can send messages. Publishers are applications or processes that generate and send messages to a topic. Subscribers then subscribe to these topics to receive the messages.

  9. In the Message Body field, enter the data you want to publish. 
    Select_Message_Body.png
  10. Click Proceed.
  11. Click the Test Action button to test the configured action. 
    Test_Action.png
  12. Once set, click the Save and Exit button.
    Save_Exit.png

The message will be published to a topic in Google PubSub, and relevant subscribers will receive the message.

This sets the Google PubSub action connector.

Was this article helpful?
^