Skip to content

Add bulk ingester helper#474

Merged
swallez merged 1 commit into
mainfrom
bulk-ingester
Jan 4, 2023
Merged

Add bulk ingester helper#474
swallez merged 1 commit into
mainfrom
bulk-ingester

Conversation

@swallez

@swallez swallez commented Jan 4, 2023

Copy link
Copy Markdown
Contributor

Adds a helper for bulk ingestion that takes care of chunking bulk requests according to several criteria:

  • max size (in bytes)
  • max number of operations
  • periodic flush

Additionally a maximum number of ongoing requests can be set, that will cause addition of new operations to block. This provides a simple form of back pressure.

Additionally, adds the Endpoint.withBinaryResponse() method for use cases where we don't want/need to parse the Elasticsearch response.

Documentation will be added in a follow-up PR.

Fixes #108

@swallez
swallez merged commit 02c6585 into main Jan 4, 2023
@swallez
swallez deleted the bulk-ingester branch January 4, 2023 13:20
github-actions Bot pushed a commit that referenced this pull request Jan 4, 2023
github-actions Bot pushed a commit that referenced this pull request Jan 4, 2023
swallez added a commit that referenced this pull request Jan 4, 2023
Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
swallez added a commit that referenced this pull request Jan 4, 2023
Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
swallez added a commit that referenced this pull request Jan 12, 2023
This reverts commit dec1142.
Unfortunately the 8.6.0 release was cut before this commit. It will be part of 8.7.0
@swallez

swallez commented Jan 12, 2023

Copy link
Copy Markdown
Contributor Author

Note: unfortunately we missed the deadlines for the 8.6.0 release. This will be part of 8.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is there a replacement for the BulkProcessor?

1 participant