AWS Big Data Blog

Category: Amazon Managed Streaming for Apache Kafka (Amazon MSK)

How Klaviyo processes 3 billion daily events at scale with Amazon MSK Express

How Klaviyo processes 3 billion daily events at scale with Amazon MSK Express

Learn how Klaviyo migrated its event pipeline from RabbitMQ to Amazon MSK Express brokers, ingesting roughly 3 billion events per day. A small team scaled the broker fleet multi-fold for Black Friday/Cyber Monday 2025, delivered 22.7 billion messages (up 25% year over year), then scaled back down.

Announcing in-place upgrades from Standard brokers to Express brokers for Amazon MSK

Announcing in-place upgrades from Standard brokers to Express brokers for Amazon MSK

Amazon MSK now supports in-place upgrades from Standard brokers to Express brokers. You can modernize an existing MSK Provisioned cluster through a fully managed workflow, with no new cluster, no application changes, and no downtime. This post shows how to assess readiness, run the rolling upgrade, validate, and roll back if needed.

Amazon MSK Express brokers available on AWS Graviton4-based M8g instances

Amazon MSK Express brokers available on AWS Graviton4-based M8g instances

Amazon MSK Express brokers are now available on AWS Graviton4-based M8g instances. Compared with Express on M7g, M8g delivers 15% lower broker-hour pricing, lower P99 produce latency, faster consumer recovery, a new 24xlarge size, and no broker-side charge for cross-AZ client traffic.

Deliver petabytes of Apache Kafka data to Amazon S3 at up to 60% lower cost with Amazon MSK Express brokers

Deliver petabytes of Apache Kafka data to Amazon S3 at up to 60% lower cost with Amazon MSK Express brokers

Amazon MSK Express brokers now deliver Apache Kafka topic data to Amazon S3 at up to 60% lower cost, with no Kafka Connect to run. You create a channel on a topic and pay only for the data delivered. In this post, we cover the two challenges of delivering Kafka data to Amazon S3 today and how Express brokers and data delivery to Amazon S3 address each one.

Allocate shared Amazon MSK costs to Kafka topics for cost visibility

Allocate shared Amazon MSK costs to Kafka topics for cost visibility

Amazon MSK bills at the cluster level, with no per-topic breakdown. This post shows how to allocate shared MSK cluster costs to individual Kafka topics by combining AWS Cost and Usage Report billing with per-topic CloudWatch or Prometheus metrics, giving each team a usage-based view of its spend.

Optimize consumer rebalancing on Amazon MSK with next generation protocol

Optimize consumer rebalancing on Amazon MSK with next generation protocol

The KIP-848 consumer protocol in Apache Kafka 4.0 redesigns consumer group rebalancing to eliminate stop-the-world pauses. This post explains how the consumer protocol works on Amazon MSK, how to enable it on MSK Standard and Express brokers, and how to diagnose and resolve slow rebalancing issues.

Best practices for scaling large consumer groups on Amazon MSK

Best practices for scaling large consumer groups on Amazon MSK

As consumer groups on Amazon MSK scale to thousands of members, the metadata record Kafka writes during rebalances can exceed the 1 MB limit and stall the group. Learn how to estimate metadata size, raise the topic-level limit safely, plan capacity, and apply complementary strategies for scaling large consumer groups.

Migrate an OAuth-authenticated Apache Kafka cluster to Amazon MSK with MSK Replicator

Migrate an OAuth 2.0 authenticated Apache Kafka cluster to Amazon MSK with MSK Replicator

MSK Replicator now supports OAuth 2.0 (SASL/OAUTHBEARER) authentication to external Apache Kafka clusters. This post walks through the three supported grant types, how to configure Replicator for each, the network and TLS prerequisites that are commonly missed, and how to handle identity providers behind an additional federation layer.

Announcing in-place ZooKeeper-to-KRaft cluster upgrades for Amazon MSK

Announcing in-place ZooKeeper-to-KRaft cluster upgrades for Amazon MSK

Amazon MSK now supports in-place upgrades from ZooKeeper to KRaft metadata mode. You can modernize your existing cluster’s metadata management through the familiar version upgrade workflow, with no new cluster to provision and no data migration. This post covers the prerequisites and the step-by-step upgrade process.

Amazon MSK Service 101: How many partitions does an Amazon MSK topic need?

Amazon MSK Service 101: How many partitions does an Amazon MSK topic need?

How many partitions does your Amazon MSK topic need? Choosing the right partition count affects throughput, scalability, and operational complexity. This post provides practical guidance for sizing partitions, covering per-partition throughput, consumer parallelism, partition keys, and Amazon MSK partition-per-broker guidelines.