kinesis-stream

Adaptavist/kinesis-stream/module

Terraform Module HCL MODULE
Install
module "kinesis-stream" {
source = "Adaptavist/kinesis-stream/module"
version = "1.7.8"
}
plain text: /constructs/tfmod-adaptavist-kinesis-stream-module/install.txt
⭐ Source on GitHub 📦 Registry page
README

Kinesis Data Streams Auto Scaling A lightweight system to automatically scale Kinesis Data Streams up and down based on throughput. !Kinesis_Auto_Scaling Event Flow - Step 1: Metrics flow from the Kinesis Data Stream(s) into CloudWatch Metrics (Bytes/Sec, Records/Sec) - Step 2: Two alarms, Scale Up and Scale Down, evaluate those metrics and decide when to scale - Step 3: When a scaling alarm triggers it sends a message to the Scaling SNS Topic - Step 4: The Scaling Lambda processes that SNS message and… - Scales the Kinesis Data Stream up or down using UpdateShardCount - Scale Up events double the number of shards in the stream - Scale Down events halve the number of shards in the stream - Updates the metric math on the Scale Up and Scale Down alarms to reflect the new shard count. Feature

Inputs (19)
NameTypeDescriptionDefault
stream_namestringStream Name required
tagsmap(string)Map of tags that should be applied to all resources required
shard_countnumberNumber of Shards required
min_shard_countnumberMinimum Number of Shards greater than zero required
kms_key_idstringKMS Key required
kinesis_scale_up_thresholdnumberScale up threshold0.75
kinesis_scale_up_evaluation_periodnumberPeriod after which the data for the alarm will be evaluated to scale up5
kinesis_scale_down_min_iter_age_minsnumberTo compare with streams max iterator age. If the streams max iterator age is abo30
enable_slack_notificationboolEnable Scale Notificationfalse
stream_retention_periodnumberStream Retention Period24
kinesis_scaling_period_minsnumberScaling Period in minute5
slack_web_hook_urlstringSlack Web hook URL""
kinesis_scale_up_datapoints_requirednumberNumber of datapoints required in the evaluationPeriod to trigger the alarm to sc5
kinesis_scale_down_thresholdnumberScale down threshold0.25
encryption_typestringEncryption Key"KMS"
kinesis_scale_down_datapoints_requirednumberNumber of datapoints required in the evaluationPeriod to trigger the alarm to sc57
max_shard_scaling_factornumberMaximum factor by which min_shard_count can scale. For example, given min_shard_5
kinesis_cooldown_minsnumberCooling down Period in minutes10
kinesis_scale_down_evaluation_periodnumberPeriod after which the data for the alarm will be evaluated to scale down60
Outputs (1)
kinesis_stream_arn
Details
FrameworkTerraform Module
LanguageHCL
Version1.7.8
Cloud MODULE
★ Stars0
Forks0
Total downloads249.4k
Inputs19
Outputs1
Submodules1
NamespaceAdaptavist
Updated