Home icon

On-demand and scheduled scaling of Amazon MSK Express based clusters

Big Data Blog



This article demonstrates how to implement dynamic scaling for Amazon MSK Express clusters using intelligent rebalancing, with two approaches: on-demand and scheduled scaling.

  • Express brokers enable 20x faster scaling and 90% faster recovery than provisioned clusters
  • Intelligent rebalancing automatically redistributes partitions across brokers without manual intervention
  • On-demand scaling tracks CloudWatch metrics and adjusts broker count when thresholds are exceeded
  • Scheduled scaling uses EventBridge cron expressions to scale clusters at predetermined times
  • Solution uses Lambda functions triggered by EventBridge to manage scaling operations
  • Decoupled compute-storage architecture enables rapid horizontal scaling within minutes
  • Dynamic broker bootstrapping allows seamless client connections during scaling operations
  • Deploy using AWS CDK with configurable thresholds and monitoring frequency
  • Avoid running both scaling solutions simultaneously on same cluster to prevent conflicts

The solution provides automated capacity management for dynamic Kafka workloads, eliminating manual partition rebalancing while maintaining performance and optimizing costs.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Feb 17
2026
Amazon MSK now supports dual-stack (IPv4 and IPv6) connectivity for existing clusters
Jun 18
2026
Amazon MSK Express brokers now support Intelligent Rebalancing on existing clusters
Nov 7
2024
Introducing Express brokers for Amazon MSK to deliver high throughput and faster scaling for your Kafka clusters
May 7
2025
Amazon MSK enables seamless certificate renewals on MSK Provisioned clusters

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.