ericxiao251 commented on code in PR #21077:
URL: https://github.com/apache/flink/pull/21077#discussion_r1019260307


##########
docs/content/docs/dev/datastream/operators/asyncio.md:
##########
@@ -140,8 +140,8 @@ DataStream<Tuple2<String, String>> resultStream =
 // create an async retry strategy via utility class or a user defined strategy
 AsyncRetryStrategy asyncRetryStrategy =
        new AsyncRetryStrategies.FixedDelayRetryStrategyBuilder(3, 100L) // 
maxAttempts=3, fixedDelay=100ms
-               .retryIfResult(RetryPredicates.EMPTY_RESULT_PREDICATE)
-               .retryIfException(RetryPredicates.HAS_EXCEPTION_PREDICATE)
+               .ifResult(RetryPredicates.EMPTY_RESULT_PREDICATE)

Review Comment:
   Added :).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to