Hi Team,
We are using the AsyncWaitOperator's retry function. After the max retry, the RetryableResultHandlerDelegator.processRetry() method calls resultHandler.completeExceptionally(). This was causing job restarts. To stop this job restarts, we changed completeExceptionally() to complete(empty collection).
Now we want to implement DLQ for the async operator. But because we use complete(empty collection), the events are dropped after max retry.
How to capture these failed events after max retry and return it to the async operator, so we can send it to DLQ.
Any help is much appreciated.