Skip to main content

For AI agents: a Markdown version of this page is at https://docs.snowplow.io/docs/api-reference/snowbridge/configuration/targets/pubsub.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt, and the index for this section is at https://docs.snowplow.io/docs/api-reference/llms.txt.

Configure Pub/Sub as a Snowbridge target

Snowplow supportedSnowbridge targetStreamingGCP

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.

hclassets/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.

Was this page helpful?