Skip to content

Add options to configure size & records of ingest batches.#59

Open
mosche wants to merge 1 commit into
egen:masterfrom
mosche:ingestbatchsize
Open

Add options to configure size & records of ingest batches.#59
mosche wants to merge 1 commit into
egen:masterfrom
mosche:ingestbatchsize

Conversation

@mosche

@mosche mosche commented Sep 15, 2020

Copy link
Copy Markdown

I've recently run into the ingest record limit (10k). Unfortunately there's no work around due to the repartitioning done here.
This PR adds two configuration options to better control ingest batches:

  • batchSize: (Optional) The size in bytes per ingest batch. Default value is 10 MB, maximum size is 10 MB.
  • batchRecords: (Optional) The number of records per ingest batch. Per default only batchSize is considered. Maximum number of records per batch is 10,000.

Both are optional and if not set, the behavior remains as is: ingest batches will be up to an estimated 10 MB large despite the number of records.

@mosche

mosche commented Sep 15, 2020

Copy link
Copy Markdown
Author

@samuel-pt @springml Would appreciate your 👀

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant