Getting Started Using Amazon MSK - Amazon Managed Streaming for Apache Kafka

Getting Started Using Amazon MSK

This section shows you an example of how you can create an MSK cluster, produce and consume data, and monitor the health of your cluster using metrics. This example doesn't represent all the options you can choose when you create an MSK cluster. In different parts of this tutorial, we choose default options for simplicity. This doesn't mean that they're the only options that work for setting up an MSK cluster or client instances.

This is a step-by-step tutorial that uses the AWS Management Console and the AWS CLI. If you prefer to follow a different approach, you can perform the types of AWS operations described in this tutorial using only the AWS Management Console, only the AWS CLI, only the AWS API, or a combination of the three environments. Alternatively, you can use AWS CloudFormation to set up an MSK cluster. For some example AWS CloudFormation templates, see Amazon MSK CloudFormation Examples. For more on the use of Amazon MSK with AWS CloudFormation templates, see AWS Streaming Data Solution for Amazon MSK: The AWS Streaming Data Solution for Amazon MSK provides AWS CloudFormation templates where data flows through producers, streaming storage, consumers, and destinations.


Before you start, ensure that you have an Amazon Web Services account and that you have the AWS Command Line Interface (AWS CLI) installed on your computer. For more information about these prerequisites, see Setting Up Amazon MSK .


Make sure that you have the latest version of the AWS CLI. Earlier versions might not have the full functionality of Amazon MSK.