Skip to content

Commit

Permalink
[hotfix] [docs] Fix typo in Elasticsearch example
Browse files Browse the repository at this point in the history
  • Loading branch information
twalthr committed Aug 15, 2018
1 parent a40a659 commit e91b2d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dev/connectors/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ ElasticsearchSink.Builder<String> esSinkBuilder = new ElasticsearchSink.Builder<
builder.setBulkFlushMaxActions(1);

// provide a RestClientFactory for custom configuration on the internally created REST client
builder.setRestClientBuilder(
builder.setRestClientFactory(
restClientBuilder -> {
restClientBuilder.setDefaultHeaders(...)
restClientBuilder.setMaxRetryTimeoutMillis(...)
Expand Down Expand Up @@ -360,7 +360,7 @@ val esSinkBuilder = new ElasticsearchSink.Builer[String](
builder.setBulkFlushMaxActions(1)

// provide a RestClientFactory for custom configuration on the internally created REST client
builder.setRestClientBuilder(
builder.setRestClientFactory(
restClientBuilder -> {
restClientBuilder.setDefaultHeaders(...)
restClientBuilder.setMaxRetryTimeoutMillis(...)
Expand Down

0 comments on commit e91b2d5

Please sign in to comment.