javaamazon-web-servicesaws-java-sdkaws-media-convertaws-java-sdk-2.x

How to get the status and progress of an AWS Elemental MediaConvert job in Java


I have converted a video using the AWS Elemental MediaConvert. The video is stored in S3. For this, I am submitting a job from the Java code and it is returning the jobID. I need to write a listener in my code, that listener should be notified when the job is complete.

How can I write a listener in Java for AWS Elemental MediaConvert job?

What components can I use from AWS for this process?


Solution

  • you can do it in the following ways

    1. create a cloud watch rule with source as media convert and destination as a endpoint. that endpoint can receive the status and progress of conversion.

    2. create a cloud watch rule with source as media convert and destination as SQS queue. you can write listener in your java code for SQS queue using the Spring cloud.