Note
This connector is subject to the Snowflake Connector Terms.
Snowflake Openflow Connector for Kafka: Configuring AWS MSK IAM Authentication¶
AWS MSK IAM authentication allows you to use AWS Identity and Access Management (IAM) to authenticate to Amazon Managed Streaming for Apache Kafka (MSK).
Prerequisites¶
- Your Kafka cluster must be Amazon MSK with IAM authentication enabled.
- You need to provide IAM credentials in Openflow with BYOC (bring your own cloud) configurations, deployed in your cloud.
- The IAM role or user must have the necessary MSK permissions.
Step 1: Create AmazonMSKConnectionService¶
From the Openflow canvas, access the Controller Services configuration:
- Double-click on the connector’s processing group.
- Right-click on the canvas and select Controller Services.
Add a new AmazonMSKConnectionService:
- Select + to add a new controller service.
- Select AmazonMSKConnectionService from the list.
- Select Add.
Configure the AmazonMSKConnectionService properties:
| Property | Value |
|---|---|
| SASL Mechanism | AWS_MSK_IAM |
| Security Protocol | #{Kafka Security Protocol} |
| Bootstrap Servers | #{Kafka Bootstrap Servers} |
Verify the AmazonMSKConnectionService:
- Select Verify for the service.
- Confirm that the service status shows as Verified.
Step 2: Configure ConsumeKafka Processor¶
-
In your Kafka connector locate the ConsumeKafka processor.
-
Configure the processor to use the new connection service:
Set the Kafka Connection Service property to the AmazonMSKConnectionService you created in Step 1: Create AmazonMSKConnectionService.
Step 3 (Optional): Remove Old Kafka Connection Service¶
- In the Controller Services tab, locate the old Kafka3Connection service.
- Disable and remove the old service:
- Select Disable for the old service.
- After it’s disabled, select Delete to remove the old service.