capabilities.work

Scale Stream Shard Count

A 3-step recipe with Amazon Kinesis. We can help you get access.

Recipe · 3 steps

Scale Stream Shard Count

Update shard count, poll until ACTIVE, then list the new shards.

  1. Initiate a uniform-scaling resize to the target shard count. The stream transitions to UPDATING.
  2. Poll the stream summary, looping while UPDATING and advancing once the stream is ACTIVE again.
  3. List the shards after the resize completes to confirm the new shard topology.
What you'll need to have ready
  • streamName: The name of the provisioned Kinesis data stream to resize.
  • targetShardCount: The new number of shards for the stream.
For your developer

Arazzo workflow amazon-kinesis:scale-stream-shard-count, 3 operations: UpdateShardCount → DescribeStreamSummary → ListShards. Specs on APIs.io.