[
https://issues.apache.org/jira/browse/BEAM-9742?focusedWorklogId=441414&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-441414
]
ASF GitHub Bot logged work on BEAM-9742:
----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Jun/20 17:03
Start Date: 04/Jun/20 17:03
Worklog Time Spent: 10m
Work Description: aromanenko-dev commented on a change in pull request
#11396:
URL: https://github.com/apache/beam/pull/11396#discussion_r435399974
##########
File path:
sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/JdbcIO.java
##########
@@ -1217,6 +1297,16 @@ void set(
return toBuilder().setRetryStrategy(retryStrategy).build();
}
+ /**
+ * When a SQL exception occurs, {@link Write} uses this {@link
RetryConfiguration} to
+ * exponentially back off and retry the statements based on the {@link
RetryConfiguration}
+ * mentioned.
Review comment:
It would be helpful to provide a simple example of usage - here or in
`JdbcIO` class Javadoc.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 441414)
Time Spent: 3h 40m (was: 3.5h)
> Add ability to pass FluentBackoff to JdbcIo.Write
> -------------------------------------------------
>
> Key: BEAM-9742
> URL: https://issues.apache.org/jira/browse/BEAM-9742
> Project: Beam
> Issue Type: Improvement
> Components: io-java-jdbc
> Reporter: Akshay Iyangar
> Assignee: Akshay Iyangar
> Priority: P3
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> Currently, the FluentBackoff is hardcoded with `maxRetries` and
> `initialBackoff` .
> It would be helpful if the client were able to pass these values.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)