Set up automatic-scaling for Amazon MSK using the API - Amazon Managed Streaming for Apache Kafka
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Set up automatic-scaling for Amazon MSK using the API

This process describes how to use the Amazon MSK API to implement automatic scaling for storage.

  1. Use the RegisterScalableTarget API to register a storage utilization target.

  2. Use the PutScalingPolicy API to create an auto-expansion policy.