FoundatioFx / Foundatio.Kafka

Kafka Implementation
Apache License 2.0
4 stars 1 forks source link

Support AWS MSK IAM SASL Signer #9

Open rlugmania opened 7 months ago

rlugmania commented 7 months ago

Currently, the OAuthBearerTokenRefreshHandler is private and there is no possibility to attach a custom handler for getting the OAuth token when integrating with AWS MSK

Suggestion: Make the LogOAuthBearerTokenRefreshHandler method injectable from the configuration.

Reference doc: aws-msk-iam-sasl-signer-net

niemyjski commented 7 months ago

Can you please create a pr for this. I honestly thought I'd never see the day this was supported :). Also please let me know how this feature is working for you.