0

I am developing a Spring Boot application where I need to upload an mp3 file into Amazon S3 Bucket, then cut it within a specific time frame using Elastic Transcoder and finally have that audio part converted into text using Transcribe.

I had a look at the java samples mentioned here and noticed that Transcoder API also makes use of SQS. Furthermore the sample seems overly complex using a lot of threads and synchronized blocks for SQS.

My Question is Do I really need to utilize SQS to achieve the concept I described above?

ThanosFisherman
  • 5,626
  • 12
  • 38
  • 63

1 Answers1

1

No, in the samples SQS is used for sending notifications only , if you don't want notifications , you actually don't need SQS in your use case, the transcribe service is enough to do your work

Mausam Sharma
  • 852
  • 5
  • 10
  • Thanks. But how can I know when transcoding job is finished so I can then proceed to transcribe? – ThanosFisherman Jun 23 '18 at 08:14
  • If you are not using SNS service for notifications , you can list your jobs based on their status, like list jobs which have **completed** status. You can refer more here https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/list-jobs-by-status.html#list-jobs-by-status-examples – Mausam Sharma Jun 23 '18 at 13:08