Skip to content

Commit

Permalink
[Improve](sink) deafult open auto redirect (apache#304)
Browse files Browse the repository at this point in the history
Automatic redirection is turned on by default when streamload is writing.
  • Loading branch information
JNSimba authored Jan 23, 2024
1 parent c77f9d7 commit 11e7369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static class Builder {
private String jdbcUrl;
private String username;
private String password;
private boolean autoRedirect;
private boolean autoRedirect = true;
private String tableIdentifier;

/** required, tableIdentifier. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class DorisConfigOptions {
public static final ConfigOption<Boolean> AUTO_REDIRECT =
ConfigOptions.key("auto-redirect")
.booleanType()
.defaultValue(false)
.defaultValue(true)
.withDescription(
"Use automatic redirection of fe without explicitly obtaining the be list");

Expand Down

0 comments on commit 11e7369

Please sign in to comment.