Skip to content
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

Docproc does not return a jsonifyable object, therefore the lambda fails and will retry #14

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vincentclaes
Copy link

Description of changes:

docproc.py does not return a jsonifyable object -> therefore it will raise an error.
The messages get dumped to the next SQS successfully but because the lambda throws an error in the end it will retry. docproc.py lambda will retry the same documents over and over again. I believe the retry on the dynamodb stream event of docproc is set to 10000.

if I added a jsonifyable return value all my documents were processed like they should and not just the first 200 to 300 documents that were retried over and over again.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@vincentclaes vincentclaes changed the title Hotfix docproc Docproc does not return a jsonifyable object, therefore the lambda fails and will retry May 26, 2020
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