saie-ch opened a new pull request, #2898:
URL: https://github.com/apache/iggy/pull/2898
## Which issue does this PR close?
Closes #2807
## Rationale
The Go SDK lacked TLS integration tests to verify encrypted TCP
connections work correctly. Python and other SDKs have similar tests using
testcontainers for portable, self-contained testing.
## What changed?
**Before:** Go SDK had no tests for TLS connections.
**After:** Added 3 integration tests using testcontainers that verify:
1. TLS connections with CA certificates succeed
2. Non-TLS connections to TLS servers are rejected
3. Complete message flows (create stream/topic, send/poll messages) work
over TLS
Tests use `apache/iggy:edge` Docker image with testcontainers-go v0.32.0.
Also updated getting-started examples with TLS flags and enhanced the test
script to run both non-TLS and TLS passes.
**Breaking change:** Bumped Go requirement from 1.23.0 to 1.25.0 (required
by testcontainers-go dependency). Go 1.25.0 was released 6 months ago and is
stable.
## Local Execution
All TLS integration tests passed locally:
Ran complete pre-merge check suite (format, tidy, lint, tests) - all
passed.
## AI Usage
Claude Code (claude-sonnet-4.5)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]