-
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 Mixpanel: Fix Mixpanel 429 status code is not handled #12286
Conversation
Hey @itaseskii can you follow these steps in the doc to update the Dockerfile |
Hey @harshithmullapudi I have bumped the version to 0.1.14 and updated the changelog with the new version. |
@@ -699,7 +699,7 @@ class Export(DateSlicesMixin, IncrementalMixpanelStream): | |||
|
|||
primary_key: str = None | |||
cursor_field: str = "time" | |||
reqs_per_hour_limit: str = 60 # 1 query per minute | |||
reqs_per_hour_limit: int = 60 # 1 query per minute |
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.
Since IncrementalMixpanelStream
extends MixpanelStream
and now this value is equal to MixpanelStream#reqs_per_hour_limit
, I think you don't have to have this property here.
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.
agreed & removed.
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.
Hi @itaseskii. Thank you for fixing this issue. This looks good to me.
/test connector=source-mixpanel
|
/test connector=source-mixpanel
|
Thanks for working on this. It's affecting me too. CI is failing due to Based on this message, I believe the issue has been already fixed in |
Hey @harshithmullapudi I have just resigned the CLA and everything seems to be fine now. Is there anything blocking this from being merged? |
Hi @itaseskii, CI is blocking this from being merged. I believe you have to bring the latest changes from Could you try? Thanks |
The merge conflicts have been resolved and the connector was bumped to 0.1.16 |
Hi @harshithmullapudi. Could you trigger another CI build on this? Thanks |
/test connector=source-mixpanel
|
Can you take a look at this? Do you see integration tests running in local? |
Sure. what exactly do I need to look into? :) |
Can you confirm if the integration tests are passing? |
Can we run the test pipeline again? From what I can see the last build has failed with the following reason
|
/test connector=source-mixpanel
|
@harshithmullapudi bumping this |
@alafanechere How should we proceed with this? Should we close it in favor of #13372 since this fix was merged with the PR. |
Hey closing this then as the fix is already merged |
What
Fix Mixpanel 429 status code is not handled
Closes #9410
How
The previous implementation had rate limit of 400 req/h for all https://mixpanel.com/api/2.0/ endpoints which is not the correct value according to the Mixpanel documentation https://help.mixpanel.com/hc/en-us/articles/115004602563-Rate-Limits-for-Export-API-Endpoints. This PR decreases the rate limiting to 60 req/h
Recommended reading order
x.java
y.python
🚨 User Impact 🚨
Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
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 hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/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 hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changesTests
Unit
Put your unit tests output here.
Integration
Put your integration tests output here.
Acceptance
Put your acceptance tests output here.