kinesis-auto-scaling icon indicating copy to clipboard operation
kinesis-auto-scaling copied to clipboard

handle MIN_SHARD_COUNT environment variables to cap downscaling

Open Korrigan opened this issue 1 year ago • 0 comments

Issue #, if available:

Description of changes:

Allow to specifiy a MIN_SHARD_COUNT environment variable. It's value will prevent the lambda to scale down the stream to less than MIN_SHARD_COUNT shards (current limit is 1 shard hardcoded)

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

Korrigan avatar Oct 17 '23 10:10 Korrigan