2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
beantwortet vor 5 Jahren
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
...
beantwortet vor 2 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 4 Jahren