Skip to content

Latest commit

 

History

History

README.md

Kafka Config Providers Examples

Examples demonstrating secure configuration management for Kafka connectors using MSK Config Providers in Amazon Managed Service for Apache Flink.

These examples show how to configure secrets and certificates for Kafka connector authentication at runtime, without embedding sensitive information in the application JAR, leveraging MSK Config Providers.

Table of Contents

mTLS Authentication

SASL Authentication

  • Kafka SASL/SCRAM - Using Config Providers to fetch SASL/SCRAM credentials from AWS Secrets Manager

Note: SASL/SCRAM authentication with MSK can also be implemented fetching the credentials from AWS Secrets Manager on application start, using AWS SDK, as demonstrated in the Fetch Secrets example. MSK TLS uses a certificate signed with AWS CA which is recognized by JVM. Passing the truststore is not required.