-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎉 Source Shopify: dynamically adjust the size of the slice
for Bulk API streams
#36788
🎉 Source Shopify: dynamically adjust the size of the slice
for Bulk API streams
#36788
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
slice size
slice
for Bulk API streams
…adjust-stream-slice-size-dynamically
…adjust-stream-slice-size-dynamically
…adjust-stream-slice-size-dynamically
…adjust-stream-slice-size-dynamically
…adjust-stream-slice-size-dynamically
airbyte-integrations/connectors/source-shopify/source_shopify/shopify_graphql/bulk/job.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/shopify_graphql/bulk/job.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/shopify_graphql/bulk/job.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/shopify_graphql/bulk/job.py
Outdated
Show resolved
Hide resolved
…adjust-stream-slice-size-dynamically
Another pre-release: Continue testing the fix using this connection |
…noise (before 3, now 5)
…adjust-stream-slice-size-dynamically
…adjust-stream-slice-size-dynamically
Another pre-release with Given:
We now
|
Another pre-release covers all the fixes of: |
…adjust-stream-slice-size-dynamically
Fresh |
…adjust-stream-slice-size-dynamically
…adjust-stream-slice-size-dynamically
…adjust-stream-slice-size-dynamically
What
Resolving:
How
retrieve_chunk_size
from5Mb to 10Mb
to download the COMPLETED Job results fasterRUNNING
logged messages forBULK API
streams, we now show theRUNNING
status each 3rd time we receive it, having thestatus interval checks
intact (show the message every 15 sec, while the status check is every 5 sec)ShopifyBulkExceptions.BulkJobBadResponse, ShopifyBulkExceptions.BulkJobUnknownError
errors, we should retry here at least onceslice size
forBULK API
streamsjob_elapsed_time_threshold_sec
threshold to control the size of the slice, based on the time spent on the last job COMPLETED.bulk_window_in_days
option from the config, in this case, thefirst
request will be made using the value provided from the config, which then we optimized automatically, based on the job timings.slice size
of the job for readability.long-running
Bulk Jobs by Canceling them intentionally and retrying it with the smaller Slice Sizeslice size
adjusting logic with theunit_test
User Impact
No impact is expected.