twmb / franz-go

franz-go contains a feature complete, pure Go library for interacting with Kafka from 0.8.0 through 3.6+. Producing, consuming, transacting, administrating, etc.
BSD 3-Clause "New" or "Revised" License
1.61k stars 158 forks source link

Enrich "read from broker errored, killing connection" log message with the Kafka message type #719

Closed pracucci closed 1 month ago

pracucci commented 2 months ago

I propose to enrich the read from broker errored, killing connection log message adding the Kafka message type as an extra log field. Are you open to such change? If so, I can open a PR.

twmb commented 2 months ago

Sure, feel free to expand some other log lines while at it, too :)