You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "schulzp (via GitHub)" <gi...@apache.org> on 2023/12/15 13:46:32 UTC
[PR] [FLINK-33857][connectors/elasticsearch] Expose BulkProcessor.flush [flink-connector-elasticsearch]
schulzp opened a new pull request, #85:
URL: https://github.com/apache/flink-connector-elasticsearch/pull/85
`ElasticsearchSinkWriter` uses `RequestIndexer` as a facade for ES' `BulkProcessor`. As of now, only the `add(…)` methods are delegated. Under the hood, the `BulkProcessor` takes care of flushing bulk requests to the server when any of the configurable limits is hit (there's another bug: flushing will happen after the limit has exceeded).
By exposing `BulkProcessor.flush()` via `RequestIndexer.flush()` we can easily implement logic to decide when to flush inside the emitter.
* fixes https://issues.apache.org/jira/browse/FLINK-33857
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [FLINK-33857][connectors/elasticsearch] Expose BulkProcessor.flush [flink-connector-elasticsearch]
Posted by "reswqa (via GitHub)" <gi...@apache.org>.
reswqa merged PR #85:
URL: https://github.com/apache/flink-connector-elasticsearch/pull/85
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org