-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* aws-kafka: add page --------- Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
- Loading branch information
1 parent
1b6a9a1
commit 5e2a144
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# aws kafka | ||
|
||
> Manage an Amazon MSK (Managed Streaming for Apache Kafka) cluster. | ||
> See also: `aws`. | ||
> More information: <https://docs.aws.amazon.com/cli/latest/reference/kafka/index.html>. | ||
- 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}}` |