Skip to content

Conversation

woshigaopp
Copy link
Contributor

…693)

  • Fix IllegalArgumentException: Illegal base64 character 20 in S3StreamKafkaMetricsManager
  • Replace single newline removal with comprehensive whitespace cleanup using replaceAll("\s", "")
  • Add graceful error handling for both Base64 and certificate parsing failures
  • Add comprehensive unit tests covering various whitespace scenarios and edge cases
  • Improve logging with specific error messages for failed certificate parsing

Fixes #2615

(cherry picked from commit 75bdea0)

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

)

- Fix IllegalArgumentException: Illegal base64 character 20 in S3StreamKafkaMetricsManager
- Replace single newline removal with comprehensive whitespace cleanup using replaceAll("\s", "")
- Add graceful error handling for both Base64 and certificate parsing failures
- Add comprehensive unit tests covering various whitespace scenarios and edge cases
- Improve logging with specific error messages for failed certificate parsing

Fixes #2615

(cherry picked from commit 75bdea0)
@woshigaopp woshigaopp merged commit c5fe508 into 1.3 Jul 28, 2025
6 checks passed
@woshigaopp woshigaopp deleted the feature/fix-cert-metrics-base64-whitespace1.3 branch July 28, 2025 09:25
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.

3 participants