Learn how to send streaming exports data from Mux to Google Cloud Pub/Sub.
Streaming Exports are available on select plans, such as Mux Data Media.
In order to stream exports from Mux to a Pub/Sub topic, you'll need to set up a topic in your Google Cloud account. Mux will write data to the topic as it becomes available. This guide covers the high-level steps required for setup.
To add a new streaming export, go to Settings > Streaming Exports in your Mux dashboard. From that tab, click New streaming export to open the configuration modal.
Select the type of data you want to export, the environment you want to send data from, the export format, and select Google Cloud Pub/Sub as the service.
You'll need to complete the following setup in your Google Cloud account before you can create a new streaming export in Mux:
In the configuration modal, provide the Pub/Sub topic name. This should be the full topic name, including the project ID, and match the format projects/{project-id}/topics/{topic-id}
.
Click Enable export, and your streaming export will be activated immediately. We will start streaming data as soon as it becomes available.
With your export set up, you can begin consuming incoming messages. For more information on the message format and processing data, see the main Export raw Mux data guide.