Home » Java » amazon web services – AWS Async Batch in java-Exceptionshub

amazon web services – AWS Async Batch in java-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment

Questions:

How should I create an AWS async batch job in java? How should I create an async client and submit an async AWS batch job?

I have a scenario where i need to configure async batch job.
I have the infra ready but don’t know how should I submit an async batch job.

A normal batch job submission looks like below:

AWSBatch batchClient = AWSBatchClientBuilder.standard()
            .withCredentials(new DefaultAWSCredentialsProviderChain())
            .withRegion(REGION).build();
SubmitJobResult response = asyncBatchClient.submitJob(request);

How do I make this async?

How to&Answers: