Google Pub/Sub

Publish event data to Google Cloud Pub/Sub topics for real-time messaging, event-driven architectures, and stream processing.

Configuration

FieldTypeRequiredDescription
project_idstringYesThe Google Cloud project ID that contains the Pub/Sub topic.
topic_idstringYesThe Pub/Sub topic ID to publish messages to. The topic must already exist.
service_account_jsonsecretYesThe full JSON key file content for a GCP service account with Pub/Sub Publisher permissions on the topic.

Quick Setup

  1. Navigate to Integrations in the sidebar.
  2. Open the Integration Library tab.
  3. Find Google Pub/Sub or filter by Cloud Storage.
  4. Click Install, select a variant if available, and fill in the required fields.
  5. Click Install Integration to create the integration with a ready-to-use default configuration.

API Setup

curl -X POST http://localhost:8084/v1/admin/integration-catalog/google_pubsub/install \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Google Pub/Sub",
    "variant": "default",
    "config": {
      "project_id": "my-gcp-project",
      "topic_id": "datafly-events",
      "service_account_json": "YOUR_SERVICE_ACCOUNT_JSON"
    },
    "delivery_mode": "server_side"
  }'

Delivery

Events are delivered server-side from your Datafly Signal infrastructure directly to Google Pub/Sub. No client-side scripts are loaded for this integration.

Visit Google Pub/Sub documentation for full API documentation and credential setup instructions.