5
votes

we have an AWS cloudformation template, through which we are creating the Amazon MSK(Kafka) cluster. which is working fine.

Now we have multiple applications in our product stack which consume the Brokers endpoints which is created by the Amazon MSK. now to automate the product deployment we decided to create a Route53 recordset for the MSK broker endpoints. we are having hard time finding how we can get a broker endpoints of MSK cluster as an Outputs in AWS Cloudformation templates.

looking forward for suggestion/guidance on this.

1

1 Answers

-1
votes

You should be able to get it from below command. More can be found here.

aws kafka get-bootstrap-brokers --region us-east-1 --cluster-arn ClusterArn