Pub/Sub (Google) Inputs

George Alpizar
George Alpizar
  • Updated

Overview

This input type allows you to specify a Pub/Sub project for Edge Delta to monitor. Specifically, EdgeDelta will consume messages from Pub/Sub subscriptions.


Review Sample Configuration 

Review the following sample configuration: 

  pubsubs:
    - labels: "google_pubsub_with_key"
      project_id: "projectID1"
      sub_id: "subID1"
      key: "{\"pubsub_key\": \"key_123\"}"
    - labels: "google_pubsub_with_key_path"
      project_id: "projectID2"
      sub_id: "subID2"
      key_path: "pubsub_key_path"

Review Parameters

Review the following parameters that you can configure in the Edge Delta App. 


labels

Required

Enter a descriptive name for this input. 

When you create a workflow, you will use this label to enter your input into the workflow. 

Review the following example: 

labels: "google_pubsub_with_key"

project_id

Required

Enter the project ID of the corresponding topic / subscription.

Review the following example: 

project_id: "projectID1"

sub_id

Required

Enter the subscription ID.

Review the following example: 

sub_id: "subID1"

key

Optional 

Enter your key so that the agent can authenticate calls to Pub/Sub

If you do not enter a key, then you must enter a Path To Key File

Review the following example: 

key: "{\"pubsub_key\": \"key_123\"}"

key_path

Optional 

Enter a path so that the agent can authenticate calls to Pub/Sub

If you do not enter a path, then you must enter a Service Account Key

Review the following example: 

key_path: "pubsub_key_path"

filters

Optional

Enter an existing filter to add to this input. 

To learn how to create a filter, see Filters.

Review the following example: 

filters:
  - info

 

Share this document