Skip to content

Commit

Permalink
[INLONG-10644][Sort] Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoYou201 committed Jul 19, 2024
1 parent 32c5002 commit ee36e24
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ public Optional<String> getPassword() {
}

public boolean isBulkFlushBackoffEnabled() {
return config.get(ElasticsearchConnectorOptions.BULK_FLUSH_BACKOFF_TYPE_OPTION) != ElasticsearchConnectorOptions.BackOffType.DISABLED;
return config.get(
ElasticsearchConnectorOptions.BULK_FLUSH_BACKOFF_TYPE_OPTION) != ElasticsearchConnectorOptions.BackOffType.DISABLED;
}

public Optional<ElasticsearchSinkBase.FlushBackoffType> getBulkFlushBackoffType() {
Expand All @@ -122,7 +123,8 @@ public Optional<Integer> getBulkFlushBackoffRetries() {
}

public Optional<Long> getBulkFlushBackoffDelay() {
return config.getOptional(ElasticsearchConnectorOptions.BULK_FLUSH_BACKOFF_DELAY_OPTION).map(Duration::toMillis);
return config.getOptional(ElasticsearchConnectorOptions.BULK_FLUSH_BACKOFF_DELAY_OPTION)
.map(Duration::toMillis);
}

public boolean isDisableFlushOnCheckpoint() {
Expand Down

0 comments on commit ee36e24

Please sign in to comment.