You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to create an SQS trigger, through Zappa, that takes in 100 messages at a time.
Expected Behavior
Should be able to add "batch_window" param to zappa_setting.json event and have it schedule.
Should schedule the trigger on SQS successfully.
Actual Behavior
botocore.errorfactory.InvalidParameterValueException: An error occurred (InvalidParameterValueException) when calling the CreateEventSourceMapping operation: Maximum batch window in seconds must be greater than 0 if maximum batch size is greater than 10
* 📝 CHANGELOG.md update for 0.55.1 release
* 📝 add merged PR (#1177) related issues to CHANGELOG.
* 📝 add #1117 to list after merge.
* 📝 adding resolved issue to CHANGELOG
* 🔧 0.55.1 -> 0.56.0
📝 add merged issue to changelog.
* 📝 add #1190
* 🔧 `Pipfile` (pipenv) now used in place of requirements.txt, test_requirements.txt, requirements.in test_requirements.in. Replacing in MANIFEST.in.
Related Issue:
#1199
* 🔧 Add resolved issue #1199
* 📝 CHANGELOG.md update for 0.55.1 release
* 📝 add merged PR (zappa#1177) related issues to CHANGELOG.
* 📝 add zappa#1117 to list after merge.
* 📝 adding resolved issue to CHANGELOG
* 🔧 0.55.1 -> 0.56.0
📝 add merged issue to changelog.
* 📝 add zappa#1190
* 🔧 `Pipfile` (pipenv) now used in place of requirements.txt, test_requirements.txt, requirements.in test_requirements.in. Replacing in MANIFEST.in.
Related Issue:
zappa#1199
* 🔧 Add resolved issue zappa#1199
Context
Attempting to create an SQS trigger, through Zappa, that takes in 100 messages at a time.
Expected Behavior
Should be able to add "batch_window" param to zappa_setting.json event and have it schedule.
Should schedule the trigger on SQS successfully.
Actual Behavior
botocore.errorfactory.InvalidParameterValueException: An error occurred (InvalidParameterValueException) when calling the CreateEventSourceMapping operation: Maximum batch window in seconds must be greater than 0 if maximum batch size is greater than 10
Possible Fix
Allow zappa to take in a batch_window argument.
Steps to Reproduce
Add to zappa_settings.json
"function": "function_name",
"event_source": {
"arn": "arn:aws:sqs:eu-central-1:180611847606:queue-name",
"batch_size": 100,
"functionResponseType": "ReportBatchItemFailures",
"enabled": true
}
Your Environment
The text was updated successfully, but these errors were encountered: