2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
You are correct. We will support Configurations in CloudFormation soon. Until then you can create a configuration in MSK and then use the configuration ARN in your CloudFormation scripts.
답변함 5년 전
0
You can create MSK::Configuration in cloudformation now like:
MskConfiguration:
Type: "AWS::MSK::Configuration"
Properties:
Description: !Sub "${EnvironmentName}-${EnvironmentShard}-msk-cluster-configuration"
Name: !Sub "${EnvironmentName}-${EnvironmentShard}-msk-cluster-configuration"
KafkaVersionsList: [2.8.1]
ServerProperties: |
auto.create.topics.enable=false
default.replication.factor=2
and associate to the cluster with
MSKCluster:
Type: 'AWS::MSK::Cluster'
Properties:
ClusterName: !Sub "${EnvironmentName}-${EnvironmentShard}-msk-cluster"
KafkaVersion: 2.8.1
NumberOfBrokerNodes: 1
ConfigurationInfo:
Arn: !Ref MskConfiguration
Revision: 1
...
답변함 2년 전