Google Cloud Pub/Sub
Google Cloud Pub/Sub
Google Cloud Pub/Sub
This topic explains how to create a Google Cloud Pub/Sub destination.
Google Cloud Pub/Sub destinations let you export all of the flag evaluation and event data generated by LaunchDarkly SDKs into a Google Cloud Pub/Sub topic. This export behavior is referred to as publishing.
In order for LaunchDarkly to send events to your Google Cloud Pub/Sub topic, you need the projectId and topicId for the Google Cloud Pub/Sub topic to which you want us to publish.
Find this information in the Google Cloud Pub/Sub topic list.
In this example, the projectId is ld-pubsub-test-192301 and the topicId is test-prod:

After you identify the Pub/Sub topic you wish to publish to, you must grant LaunchDarkly’s Google Cloud Service Account publish access to that topic.
To grant publish access:
prod-event-recorder@firehose-publish.iam.gserviceaccount.com, into the Add Members field.Verify that the LaunchDarkly Service account email is a Pub/Sub Publisher. If you configured your account correctly, LaunchDarkly’s Service Account email appears as a Pub/Sub Publisher.
Here is an image of the Pub/Sub topic list:

The final step is to connect your topic to LaunchDarkly. To do this:
After you save the destination, send a test event to confirm that the destination is configured properly.
To send a test event:
After you create a Data Export destination, you must start sending flag or environment event data to it. You can enable Data Export for individual flags, or for all the flags in an environment.
To learn more, read Export event data for flags and environments.
You can delete a Data Export destination from the Integrations screen.
To delete a destination: