aws / aws/chalice

on_sqs_message missing parameter for MaximumBatchingWindowInSeconds

Open
#1,778 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

This prevents us from using batch sizes > 10, since deploy fails with
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

Contributor guide

Open the contributing guide

Research direction

Start by tracing the on_sqs_message configuration to the CreateEventSourceMapping call, then check how batch size is passed for SQS event sources. Verify the requested MaximumBatchingWindowInSeconds value is accepted when the maximum batch size exceeds 10, and confirm deployment succeeds without the InvalidParameterValueException.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
backend, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.