title | github | thumbnail | tags | |
---|---|---|---|---|
Google Pub/Sub |
|
import Requirements from "./_snippets/requirements.mdx" import FeedbackQuestions from "./_snippets/feedback-questions.mdx" import PostHogMaintained from "./_snippets/posthog-maintained.mdx" import ExportDisabled from "./_snippets/export-disabled.mdx"
This destination sends events from PostHog to a Google Cloud Pub/Sub topic when they are ingested. It's used by teams such as Vendasta.
You'll also need a Google Cloud Pub/Sub account to connect to.
- In PostHog, click the "Data pipeline" tab in the left sidebar.
- Search for 'Pub/Sub' and select the destination, press Install.
- Upload your Google Cloud key .json file. (How to get the file.)
- Enter your Topic ID.
- Watch events publish to Topic.
You'll need this file to configure the Pub/Sub destination for PostHog. You can find out where to find it in Google's Pub/Sub client libraries documentation.
PostHog is open-source and so are all destinations on the platform. The source code is available on GitHub.
We'd like to thank PostHog community member Jesse Redl from Vendasta for creating this. Thanks, Jesse!