@cfn-modules/msk-cluster
v1.0.1
Published
AWS MSK (Kafka) cluster using two or three availability zones with public and private subnets. Cloudwatch logging enabled by default.
Downloads
4
Readme
cfn-modules: AWS MSK cluster
AWS MSK (Kafka Cluster) using two or three availability zones with public and private subnets. Cloudwatch logging enabled by default.
Install
Install Node.js and npm first!
npm i @cfn-modules/msk-cluster
Usage
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
Key:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
VpcModule: !GetAtt 'Vpc.Outputs.StackName' # required
ClientSgModule: !GetAtt 'ClientSg.Outputs.StackName' # required
KmsKeyModule: !GetAtt 'Key.Outputs.StackName' # optional
BastionModule: !GetAtt 'Bastion.Outputs.StackName' # optional
AlertingModule: !GetAtt 'Alerting.Outputs.StackName' # optional
NumberOfBrokerNodes: !GetAtt 'Vpc.Outputs.NumberOfAvailabilityZones' # required
KafkaVersion: '2.2.1' # optional
InstanceType: 'kafka.t3.small' # optional
MSKConfigurationArn: '' # optional
MSKConfigurationNumber: '0' # optional
EBSVolumeSize: '1' # optional
TemplateURL: './node_modules/@cfn-modules/msk-cluster/module.yml'
Examples
none
Related modules
none
Parameters
Outputs
Limitations
- Scalable: Auto scaling is not provided by MSK service. You have to increase the number of broker nodes to scale manually.
- Secure: Does not backup/snapshot the data.