Experimental
@aws-cdk/aws-msk-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
BrokerType Enum
The broker type for the cluster.
Example
ts
declare const vpc: ec2.Vpc;
const expressCluster = new msk.Cluster(this, 'ExpressCluster', {
clusterName: 'MyExpressCluster',
kafkaVersion: msk.KafkaVersion.V3_8_X,
vpc,
brokerType: msk.BrokerType.EXPRESS,
instanceType: ec2.InstanceType.of(
ec2.InstanceClass.M7G,
ec2.InstanceSize.XLARGE,
),
});
Members
| Member | Description |
|---|---|
STANDARD | Standard brokers provide high-availability guarantees. |
EXPRESS | Express brokers are a low-cost option for development, testing, and workloads that don't require the high availability guarantees of standard MSK cluster. |
Referenced by
ClusterProps.brokerTypebroker_typebrokerTypeBrokerTypeBrokerType