-
Notifications
You must be signed in to change notification settings - Fork 4.5k
msk: add bootstrapBrokersSaslIam #18355
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-mskRelated to Amazon Managed Streaming for Apache Kafka (Amazon MSK)Related to Amazon Managed Streaming for Apache Kafka (Amazon MSK)effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-mskRelated to Amazon Managed Streaming for Apache Kafka (Amazon MSK)Related to Amazon Managed Streaming for Apache Kafka (Amazon MSK)effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Currently @aws-cdk/aws-msk-alpha package supports:
bootstrapBrokersbootstrapBrokersTlsbootstrapBrokersSaslScramPlease add support for a new property
bootstrapBrokersSaslIAMUse Case
In the case where the Kafka cluster is configured using Sasl with IAM, e.g.:
It is currently not possible to access the bootstrap brokers directly as a property of the Kafka cluster.
Proposed Solution
The
Clusterclass ofaws-msk-alphacontains a private method_bootstrapBrokers. The other public bootstrapBroker* functions are defined in relation to this function:A similar function can be defined for SaslIam:
Other information
When accessing the bootstrap brokers of a cluster configured with property
One can access the bootstrap brokers from the command line:
This will return an object:
{ "BootstrapBrokerStringSaslIam": "..." }Acknowledge