Release v1.56.4
🛠️ Fixes
-
Kafka Stale Admin Connection — Kafka subscribers got permanently stuck on
"kafka client not connected"after the broker closed an idle TCP connection (defaultconnections.max.idle.ms = 10m). The adminmultiConnwas dialed only once duringinitialize()andretryConnect()only covered initial startup, so everySubscribe/Querycall failed for the rest of the process lifetime. AddedensureConnected(ctx)which detects a stale admin conn at the entry ofSubscribe/Query, re-dials the broker list, and swaps in a freshmultiConnwhile leaving the writer and per-topic readers untouched so in-flight work isn't disrupted. No public API change. -
SwaggerUI Panic on Files Without Extension —
SwaggerUIHandlerpanicked with an index out of bounds error when serving filenames that had no extension, due tostrings.Split+ direct index access on the result. Replaced withfilepath.Extfor safe extraction, and the handler now returns a definederrMissingFileExtensioninstead of panicking.