Learn how to send streaming exports data from Mux to Amazon Kinesis Data Streams.
Streaming Exports are available on select plans, such as Mux Data Media.
For a detailed walkthrough of the Amazon Kinesis Data Streams setup process, see this blog post.
In order to stream exports from Mux to Amazon Kinesis Data Streams, you’ll need to set up a data stream in your AWS account. You should use the us-east-1
region when creating the data stream. 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 Amazon Kinesis Data Streams as the service.
You'll need to complete the following setup in your AWS account before you can create a new streaming export in Mux:
us-east-1
region.{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"kinesis:ListShards",
"kinesis:PutRecord",
"kinesis:PutRecords"
],
"Resource": [
"arn:aws:kinesis:{region}:{account-id}:stream/{stream-name}"
]
}
]
}
In the configuration modal, provide the data stream ARN and IAM role ARN. Make sure the values you provide match these formats:
arn:aws:kinesis:{region}:{account-id}:stream/{data-stream-name}
arn:aws:iam::{account-id}:role/{role-name}
Click Enable export, and your streaming export will be activated immediately. We will start streaming views as soon as they're completed.
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.