For AI agents: a Markdown version of this page is at https://docs.snowplow.io/docs/api-reference/snowbridge/configuration/sources/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 source
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
Here is an example of the minimum required configuration:
hclassets/docs/configuration/sources/pubsub-minimal-example.hcl
loading...
Here is an example of every configuration option:
hclassets/docs/configuration/sources/pubsub-full-example.hcl
loading...