Categorygithub.com/segmentio/kafka-go/sasl/aws_msk_iam_v2
modulepackage
0.1.0
Repository: https://github.com/segmentio/kafka-go.git
Documentation: pkg.go.dev

# README

AWS MSK IAM V2

This extension provides a capability to get authenticated with AWS Managed Apache Kafka through AWS IAM.

How to use

This module is an extension for MSK users and thus this is isolated from kafka-go module. You can add this module to your dependency by running the command below.

go get github.com/segmentio/kafka-go/sasl/aws_msk_iam_v2

Please find the sample code in example_test.go, you can use the Mechanism for SASL authentication of Reader and Writer.

# Functions

NewMechanism provides.

# Structs

Mechanism implements sasl.Mechanism for the AWS_MSK_IAM mechanism, based on the official java implementation: https://github.com/aws/aws-msk-iam-auth.