To process media jobs sequentially based on priority and submission order, create an MPS queue. You can then assign a priority (if the job type supports it) and an MPS queue when you create a job.
Limitations
The creation limits, applicable features, and concurrency capabilities depend on the MPS queue type. If you submit a job to an unsupported MPS queue type, the job fails. If the number of jobs exceeds the concurrency limit, MPS queues them for later processing. For more information, see Overview of MPS queues.
Create an MPS queue in the console
Log on to the MPS console.
In the top navigation bar, select a region from the drop-down list.
In the left-side navigation pane, choose .
Click Create MPS Queue.
In the Create MPS Queue dialog box, configure the following parameters.
Parameter
Description
MPS Queue Name
Enter a name for the MPS queue. The name can contain Chinese characters, letters, digits, and hyphens (-). It cannot start with a special character and cannot exceed 128 bytes in length.
MPS Queue Type
Select an MPS queue type based on the feature you need. If you select a type that is not supported in the current region, submitted jobs will fail.
Click OK.
NoteBy default, MPS creates queues in the Active state. You can stop an MPS queue to suspend job execution.
(Optional) Configure notifications for an MPS queue.
To enable notifications for an MPS queue, find the queue and click Set Notifications in the Actions column.
NoteMPS integrates with Message Service (MNS) to bind a topic or queue to an MPS queue for notifications. When a job in the MPS queue completes, MNS pushes a notification to your specified endpoint. For more information, see Set up notifications.
Parameter
Description
Notifications
Turn on the Notifications switch.
Message Type
Select Queue or Topic.
Queue Name or Topic Name
Based on your selected Message Type, select an existing instance from the Queue Name or Message Name drop-down list.
Click OK to complete the configuration.
Manage MPS queues in the console
If you submit a job to a deleted or stopped MPS queue, MPS does not schedule or run the job, and it fails.
Deleting or stopping an MPS queue does not affect jobs that were submitted beforehand. However, you cannot cancel jobs already in the processing queue. These jobs will run to completion and incur charges.
Submit a job
When you create a single job or a workflow, select an MPS queue from the MPS Queues drop-down list in the Input settings.
Activate or stop an MPS queue
Sign in to the MPS console. In the left-side navigation pane, choose .
In the Actions column for the MPS queue, click Activate or Stop to activate or stop the queue.
Delete an MPS queue
Sign in to the MPS console. In the left-side navigation pane, choose .
In the Actions column for the MPS queue, click Stop. After the queue stops, click Delete MPS Queue.
Edit the name of an MPS queue
Sign in to the MPS console. In the left-side navigation pane, choose .
Click the edit icon to the right of the MPS queue name and update the name.