aws-kafka
Manage an Amazon MSK (Managed Streaming for Apache Kafka) cluster. tldr-pages
On several platforms
Several platforms
Create a new MSK cluster
aws kafka create-cluster --cluster-name cluster_name --broker-node-group-info instanceType=instance_type,clientSubnets=subnet_id1 subnet_id2 ... --kafka-version version --number-of-broker-nodes numberIdentify--cluster-nameThe name of the cluster. AWS CLI reference--broker-node-group-infoInformation about the broker nodes in the cluster. AWS CLI reference--kafka-versionThe version of Apache Kafka. AWS CLI reference--number-of-broker-nodesThe number of broker nodes in the cluster. AWS CLI referenceDescribe an MSK cluster
aws kafka describe-cluster --cluster-arn cluster_arnIdentify--cluster-arnThe Amazon Resource Name (ARN) that uniquely identifies the cluster. AWS CLI referenceList all MSK clusters in the current region
aws kafka list-clustersIdentifyCreate a new MSK configuration
aws kafka create-configuration --name configuration_name --server-properties file://path/to/configuration_file.txtIdentify--nameThe name of the configuration. AWS CLI reference--server-propertiesContents of the server.properties file. AWS CLI referenceDescribe an MSK configuration
aws kafka describe-configuration --arn configuration_arnIdentify--arnThe Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions. AWS CLI referenceList all MSK configurations in the current region
aws kafka list-configurationsIdentifyUpdate the MSK cluster configuration
aws kafka update-cluster-configuration --cluster-arn cluster_arn --configuration-info arn=configuration_arn,revision=configuration_revisionIdentify--cluster-arnThe Amazon Resource Name (ARN) that uniquely identifies the cluster. AWS CLI reference--configuration-infoRepresents the configuration that you want MSK to use for the brokers in a cluster. AWS CLI referenceDelete the MSK cluster
aws kafka delete-cluster --cluster-arn cluster_arnIdentify--cluster-arnThe Amazon Resource Name (ARN) that uniquely identifies the cluster. AWS CLI reference