I'm deploying a simple lambda function that is triggered by a Kinesis stream. I am able to build and deploy, but the event features I can adjust seems to be limited to BatchSize, Enabled, EventSourceArn, FunctionName and StartingPosition
Expected Behavior
I'd like to be able to use the BisectBatchOnFunctionError and MaximumBatchingWindowInSeconds options.
There are a few others that I'm not using right now, but that I would probably consider as well:
MaximumRecordAgeInSecondsMaximumRetryAttemptsParallelizationFactor
Missing kinesis trigger options.
Context
I'm deploying a simple lambda function that is triggered by a Kinesis stream. I am able to build and deploy, but the event features I can adjust seems to be limited to BatchSize, Enabled, EventSourceArn, FunctionName and StartingPosition
Expected Behavior
I'd like to be able to use the
BisectBatchOnFunctionError
andMaximumBatchingWindowInSeconds
options. There are a few others that I'm not using right now, but that I would probably consider as well:MaximumRecordAgeInSeconds
MaximumRetryAttempts
ParallelizationFactor
AWS Docs: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html
Your Environment
Zappa version used: 0.51.0
Operating System and Python version: Mac OS 10.15.6, Python ver 3.8
Your
zappa_settings.json
: { "base": { "aws_region": "us-east-2", "profile_name": "my profile", "project_name": "my project", "runtime": "python3.8", "s3_bucket": "zappa-temp", "lambda_handler": "lambda_function.lambda_handler", "apigateway_enabled": false, "keep_warm": false, "cloudwatch_data_trace": true, "cloudwatch_metrics_enabled": true }, "dev": { "extends": "base", "log_level": "INFO", "events": [ { "function": "lambda_function.lambda_handler", "event_source": { "arn": "arn:my arn", "starting_position": "LATEST", "batch_size": 100, "enabled": true,"bisect_batch_on_function_error": true,
"maximum_batching_window_in_seconds": 30
} } ], "extra_permissions": [ { "Effect": "Allow", "Action": "kinesis:", "Resource": "" } ] }}