Google Pub/Sub

Frends.GooglePubSub.Consume / 1.0.0

Summary

Pulls messages from a Pub/Sub subscription. Consumption follows the subscription's own delivery and acknowledgement rules, so the subscription decides redelivery, not the Task.

Typical use — scheduled consumption of an event stream where Google's broker holds the backlog

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Consume Task input.

Name Type Default Example Description
ProjectID String my-project-123456

The project ID.

SubscriptionID String my-project-123456

The subscription ID.

ServiceAccountKeyJSONSecret String { "type": "service_account", "project_id": "something", "private_key_id": "fdsafdsafdsalmnop12345678909876543212344", "private_key": "-----BEGIN PRIVATE KEY-----\nMIIE.......Hw==\n-----END PRIVATE KEY-----\n", "client_email": "someone@something.iam.gserviceaccount.com", "client_id": "123456789012345678900", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www....nt.com" }

The JSON service account key that one can generate in the Google Cloud portal.

An unhandled error has occurred. Reload 🗙