-
Notifications
You must be signed in to change notification settings - Fork 14
CodeCommit: SerializationError upon event processing #58
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
Comments
After some quick analysis, it seems like we get rate limited due to aggressive polling and don't handle the error properly. |
@tzununbekov could you check that one tomorrow. Assuming your exponenatial backoff solved the rate limiting we should not see this error anymore. |
With backoff mechanism in place issue is not reproducible, although we must remember that requests rate limit covers all requests to all services in AWS account (ref). That is, even exponential backoff may not help in some edge cases, but I think we should handle such issues as they come. |
One thing that was happening if I remember correctly was that errors were verbose and poorly handled, like if the API response was not a commit we would just fail at unmarshaling instead of handling the error returned by the AWS SDK. Is that still the case? If not, I agree we should close this. |
@tzununbekov I went over the code and all errors seem to be handled correctly now. Closing! |
yep, I think that error was there when we had custom types for every AWS event and tried to unmarshal incoming data. I have a tiny piece of improvement for codecommit source - there is a |
Upon pushing a commit to the observed repository, the source fails with a SerializationError:
Pod manifest
The text was updated successfully, but these errors were encountered: