kafka-go icon indicating copy to clipboard operation
kafka-go copied to clipboard

Implement a wrapper for TLS Conns to add details to errors.

Open rhansen2 opened this issue 3 years ago • 0 comments

There are situations where a tls.Conn only reports an EOF which eventually bubbles up to the caller as an UnexpectedEOF. This error can occur for many reasons and makes debugging difficult. Let's decorate our TLS connections to allow us to add more detailed information to error messages.

rhansen2 avatar Mar 18 '22 18:03 rhansen2