Shreyas arya

Generation

generate functionWed, 08 Feb 2023

When requests to Step Function fail, Workflow Service performs exponential backoff retries to notify Step Function service. Number of retries = 3 The total duration of all attempts doesn't exceed 10 seconds, the processing must not exceed the message visibility timeout.

public class ExpBackoffRetry { public static void main(String[] args) { String s = "abc"; int[] arr = {1, 2, 3, 4}; System.out.println(arr[1]); int i = 0; while (i < 4) { int waitTime = (int)Math.pow(2, i); i++; } while (i < 4) { int waitTime = (int)Math.pow(2, i); i++; } } }

Questions about programming?Chat with your personal AI assistant