Pub/Sub

Core EE Pub/Sub feature allows you to publish processed messages to your Pub/Sub topics

Prerequisites

  • Make sure your Core EE endpoint runs correctly with your current configuration

  • Enable Cloud Pub/Sub API in your project

Usage

Specify desired topic in PUBSUB_TOPIC environment variable (make sure it exists)

Additionally, if you're using Docker, Kubernetes or custom service account with App Engine or Cloud grant pubsub.publisher role to that service account

Example

gcloud projects add-iam-policy-binding <your-project-id> --member serviceAccount:ushaflow-core-ee@<your-project-id>.iam.gserviceaccount.com --role roles/pubsub.publisher

Then, create a subscription to consume messages Reference: https://cloud.google.com/pubsub/docs/subscriber

Last updated

Was this helpful?