Skip to content

Add TLS and mTLS support for Kafka - #7

Open
ymocode wants to merge 3 commits into
sftpgo:mainfrom
ymocode:main
Open

Add TLS and mTLS support for Kafka#7
ymocode wants to merge 3 commits into
sftpgo:mainfrom
ymocode:main

Conversation

@ymocode

@ymocode ymocode commented Jan 22, 2026

Copy link
Copy Markdown

Summary

  • add optional TLS and mutual TLS support for Kafka publishers
  • preserve Go CDK Kafka URL behavior, including key_name
  • validate broker lists, boolean settings, custom CA files, and client certificate pairs
  • require TLS 1.2 or newer and keep server verification enabled by default
  • document Kafka TLS environment variables
  • add focused configuration and certificate-loading tests

Verification

  • go test -count=1 ./...
  • go test -race -count=1 ./...
  • go vet ./...
  • go build -trimpath
  • gofmt and git diff --check

Checklist

@CLAassistant

CLAassistant commented Jan 22, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@ymocode ymocode changed the title Add mTLS Support Add TLS and mTLS support for Kafka Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants