Amazon Managed Streaming for Apache Kafka (Amazon MSK)
Amazon MSK is a fully managed Apache Kafka service hosted by AWS. Hub backend instance can be set easily to use AWS MSK by defining the standard spring kafka properties. See the sample properties in following sections.
Access MSK with no authentication and no encryption
If MSK is provisioned without any authentication and encryption, by default the access protocol is defined as plain-text. In such case, it’s enough to set only bootstrap servers in application.yml as below.
Access MSK with IAM role-based authentication and encryption
If MSK is provisioned with IAM role-based authentication and encryption (within the cluster and between clients and brokers), use the properties below for accessing the service. Make sure the IAM role which is assigned to the backend instance container tasks
has sufficient MSK permissions as stated here in IAM access control.Additionally, trust relationships should be defined as part of the same permission set for the specific instance. See the examples below.