Google Pub/Sub

Frends.GooglePubSub.Publish / 2.0.0

Summary

Publishes one or more messages to a topic, reporting per-message identifiers and errors, and can request ordered delivery.

Typical use — emitting events from a Process; the per-message result is what lets you retry only the ones that failed

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Publish task input.

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

The project ID.

TopicID String my-topic

The topic 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.

EnableMessageOrdering Boolean False true

Whether to enable or disable message ordering using an ordering key.

Messages Message[] [ [ { "attr1", "value1" }, { "attr2", "value2" } ], "foo", "bar" ]

One or more messages to publish to the topic.

An unhandled error has occurred. Reload 🗙