brexhq / substation

Substation is a toolkit for routing, normalizing, and enriching security event and audit logs.
https://substation.readme.io
MIT License
330 stars 21 forks source link

feat(autoscale): Dynamic Kinesis Scaling with Thresholds #144

Closed jshlbrd closed 8 months ago

jshlbrd commented 8 months ago

Description

Motivation and Context

These changes make the Kinesis autoscale app closer to the deprecated sample solution provided by AWS and adds some new features (like dynamic scaling). The threshold setting is partially based on DynamoDB's auto scaling solution, but operating around the limitations of the Kinesis UpdateShardCount API.

In the future we may adjust the dynamic scaling pattern, which would result in a patch version bump.

How Has This Been Tested?

This has been tested end-to-end on several production data pipelines.

Types of changes

Checklist: