doubly-yi commented on issue #80:
URL: 
https://github.com/apache/doris-flink-connector/issues/80#issuecomment-1350373647

   I had a similar problem and I wanted to not keep retrying after a failed 
write. And I set the maximum number of retries does not take effect.
   ```java
   DorisExecutionOptions.Builder executionBuilder = 
DorisExecutionOptions.builder();
   executionBuilder.setMaxRetries(2);
   ```
   ```java
   DorisSink.sink(
   
                   DorisReadOptions.builder().build(),
                   DorisExecutionOptions.builder()
                           //.setBatchSize(1)
                           //.setBatchIntervalMs(0L)
                           .setMaxRetries(1)
                           .setStreamLoadProp(properties)
                           .build(),
                   DorisOptions.builder()
                           .setFenodes(feNodes)
                           .setTableIdentifier(tableIdentifier)
                           .setUsername(username)
                           .setPassword(password)
                           .build()
           );
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to