Skip to main content

PubSub Target

Authentication

Authentication is done using a GCP Service Account. Create a service account credentials file, and provide the path to it via the GOOGLE_APPLICATION_CREDENTIALS environment variable.

Snowbridge connects to PubSub using Google's Go Pubsub sdk, which establishes a grpc connection with TLS encryption.

Configuration options

The PubSub Target has only two required options, and no optional ones.

assets/docs/configuration/targets/pubsub-full-example.hcl
loading...

If you want to use this as a failure target, then use failure_target instead of target.