Google Pub/Sub
Publish event data to Google Cloud Pub/Sub topics for real-time messaging, event-driven architectures, and stream processing.
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
project_id | string | Yes | The Google Cloud project ID that contains the Pub/Sub topic. |
topic_id | string | Yes | The Pub/Sub topic ID to publish messages to. The topic must already exist. |
service_account_json | secret | Yes | The full JSON key file content for a GCP service account with Pub/Sub Publisher permissions on the topic. |
Quick Setup
- Navigate to Integrations in the sidebar.
- Open the Integration Library tab.
- Find Google Pub/Sub or filter by Cloud Storage.
- Click Install, select a variant if available, and fill in the required fields.
- 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.