aws-kafka
Manage Amazon Managed Streaming for Apache Kafka clusters.
TLDR
Create a new MSK cluster
SYNOPSIS
aws kafka command [options]
DESCRIPTION
aws kafka is the AWS CLI interface for Amazon Managed Streaming for Apache Kafka (MSK), a fully managed service for running Apache Kafka. MSK handles cluster provisioning, configuration, patching, and monitoring while maintaining compatibility with open-source Kafka.
MSK supports both provisioned and serverless deployment modes, SASL/SCRAM and IAM authentication, encryption at rest and in transit, and integration with AWS services like Lambda, Kinesis Data Firehose, and Glue.
COMMANDS
create-cluster
Create a new MSK clusterdelete-cluster
Delete an MSK clusterdescribe-cluster
Get cluster configuration and statuslist-clusters
List all clusters in the accountget-bootstrap-brokers
Get broker endpoints for client connectionsupdate-broker-count
Scale the number of brokersupdate-broker-storage
Increase broker storage capacityupdate-cluster-kafka-version
Upgrade Kafka versioncreate-configuration
Create a custom broker configurationreboot-broker
Restart a specific broker
CAVEATS
Broker count can only be increased, not decreased. Storage can only be increased. Kafka version upgrades are one-way and cannot be rolled back. Cluster creation takes 15-20 minutes. MSK Serverless has different quotas than provisioned clusters.
HISTORY
Amazon MSK launched in December 2018 as a managed Kafka service. MSK Connect for managed connectors was added in 2021, and MSK Serverless launched in 2022 for automatic scaling without capacity planning. Tiered storage for cost optimization came in 2023.
SEE ALSO
aws(1), aws-kinesis(1), kafka-topics(1)
