From 5e2a144c37fe688c5569b38e4d99e301016f6ae4 Mon Sep 17 00:00:00 2001 From: Gilad Alboher <136579814+giladAlboher@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:04:05 +0200 Subject: [PATCH] aws-kafka: add page (#11696) * aws-kafka: add page --------- Co-authored-by: Muhammad Falak R Wani Co-authored-by: K.B.Dharun Krishna --- pages/common/aws-kafka.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pages/common/aws-kafka.md diff --git a/pages/common/aws-kafka.md b/pages/common/aws-kafka.md new file mode 100644 index 000000000..11e8b9e25 --- /dev/null +++ b/pages/common/aws-kafka.md @@ -0,0 +1,37 @@ +# aws kafka + +> Manage an Amazon MSK (Managed Streaming for Apache Kafka) cluster. +> See also: `aws`. +> More information: . + +- 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 {{number}}` + +- Describe a MSK cluster: + +`aws kafka describe-cluster --cluster-arn {{cluster_arn}}` + +- List all MSK clusters in the current region: + +`aws kafka list-clusters` + +- Create a new MSK configuration: + +`aws kafka create-configuration --name {{configuration_name}} --server-properties file://{{path/to/configuration_file.txt}}` + +- Describe a MSK configuration: + +`aws kafka describe-configuration --arn {{configuration_arn}}` + +- List all MSK configurations in the current region: + +`aws kafka list-configurations` + +- Update the MSK cluster configuration: + +`aws kafka update-cluster-configuration --cluster-arn {{cluster_arn}} --configuration-info arn={{configuration_arn}},revision={{configuration_revision}}` + +- Delete the MSK cluster: + +`aws kafka delete-cluster --cluster-arn {{cluster_arn}}`