-
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: Fixed rate limits throttling #5470
Conversation
/test connector=connectors/source-shopify
|
airbyte-integrations/connectors/source-shopify/source_shopify/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/unit_tests/unit_test.py
Outdated
Show resolved
Hide resolved
/test connector=connectors/source-shopify
|
airbyte-integrations/connectors/source-shopify/unit_tests/test_control_rate_limit.py
Outdated
Show resolved
Hide resolved
…ov/shopify-rate-limits-issue
/test connector=connectors/source-shopify
|
/test connector=connectors/source-shopify
|
/test connector=connectors/source-shopify
|
/test connector=connectors/source-shopify
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like the decorator for throttling sleeps and thanks for adding unit tests.
Couple of comments and Qs :)
airbyte-integrations/connectors/source-shopify/source_shopify/utils.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/utils.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/utils.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/utils.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/source_shopify/utils.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/unit_tests/test_control_rate_limit.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-shopify/unit_tests/test_control_rate_limit.py
Outdated
Show resolved
Hide resolved
/test connector=connectors/source-shopify
|
FWIW, I am eagerly waiting for this to be merged :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making changes!
I'm approving now so we can get this released for users but for readability and structure sake, addressing the comment I left would be ideal. If not then at least making an issue to do so would be great (or let me know if you disagree!)
/test connector=connectors/source-shopify
|
/publish connector=connectors/source-shopify
|
#5416 - source shopify: confusing error message when rate limit is hit #5441 - Shopify Connector Rate Limiting PR: #5470 - #5470 Co-authored-by: Oleksandr Bazarnov <[email protected]>
What
#5441 - Shopify Connector Rate Limiting
#5416 - Source shopify: confusing error message when rate limit is hit
How
balance_rate_limit
method to control sleep time between each API call, by leveraging the"X-Shopify-Shop-Api-Call-Limit"
header information, as described in Shopify DocumentationPerformance considerations
section ofshopify.md
about rate limits.Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described here