From 052fb6d388ae9a515cced604bcec916fe3142c2b Mon Sep 17 00:00:00 2001 From: bt3gl <1130416+bt3gl@users.noreply.github.com> Date: Wed, 23 Mar 2022 10:50:54 +0000 Subject: [PATCH] Create AWS-MSK-commands.md --- kafka-and-streaming/AWS-MSK-commands.md | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 kafka-and-streaming/AWS-MSK-commands.md diff --git a/kafka-and-streaming/AWS-MSK-commands.md b/kafka-and-streaming/AWS-MSK-commands.md new file mode 100644 index 0000000..eae83ed --- /dev/null +++ b/kafka-and-streaming/AWS-MSK-commands.md @@ -0,0 +1,41 @@ +## AWS MSK Commands + +### List clusters + +Returns a list of all the MSK clusters in the current Region: + +``` +aws kafka list-clusters +``` + +### Describing the cluster + +Returns a description of the MSK cluster whose (ARN) is specified in the request: + +``` +aws kafka describe-cluster --cluster-arn +``` + +### Listing nodes + +Returns a list of the broker nodes in the cluste: + +``` +aws kafka list-nodes --cluster-arn +``` + +### Listing bootstrap brokers urls + +A list of brokers that a client application can use to bootstrap: + +``` +aws kafka get-bootstrap-brokers --cluster-arn +``` + +### List clusters operation + +Returns a list of all the operations that have been performed on the specified MSK cluster: + +``` +aws kafka list-cluster-operations --cluster-arn +```