Amazon Managed Streaming for Apache Kafka (MSK) is a fully managed service that simplifies the setup, scaling, and management of Apache Kafka clusters, a popular open-source distributed streaming platform.
<your-username>
and <your-password>
with the username and password you want to set for the cluster.AmazonMSK_
.users_jaas.conf
with the following contents in /home/ubuntu
.cacerts
folder into the kafka.client.truststore.jks
copy.client_sasl.properties
at /home/ubuntu
with the following contents.<broker-url>
from now on.kafka-console-producer
command, you will be prompted to enter messages into the console. Each message should be entered on a new line; you can enter as many messages as you like.
After entering messages, you can close the console window or press Ctrl + C to exit the producer.
kafka-cluster:Connect
kafka-cluster:DescribeTopic
kafka-cluster:DescribeGroup
kafka-cluster:AlterGroup
kafka-cluster:ReadData
kafka-cluster:WriteData
AWS_MSK_IAM
SASL mechanism. You also need to specify the following parameters.
Parameter | Notes |
---|---|
aws.region | Required. AWS service region. For example, US East (N. Virginia). |
aws.credentials.access_key_id | Required. This field indicates the access key ID of AWS. |
aws.credentials.secret_access_key | Required. This field indicates the secret access key of AWS. |
aws.credentials.session_token | Optional. The session token associated with the temporary security credentials. Using this field is not recommended as RisingWave contains long-running jobs and the token may expire. Creating a new role is preferred. |
aws.credentials.role.arn | Optional. The Amazon Resource Name (ARN) of the role to assume. |
aws.credentials.role.external_id | Optional. The external id used to authorize access to third-party resources. |
aws.msk.signer_timeout_sec | Optional. The timeout limit for loading AWS credentials of AWS MSK. |
AWS_MSK_IAM
on AWS.