Files
zeekayandHanzo Dev b08db2f70a Serve a listener the host hands over: Connect, then Accept
Serve is now Connect (dial the bus, ensure the offset bucket, watch tails,
bound partitions, start admin) followed by a TCP listener and Accept on it,
with the same behaviour as before. A host that owns the Kafka port itself
calls Connect, which fails as soon as the bus refuses rather than after a
startup timer, and then Accept on a unix socket it relays to. Metadata and
FindCoordinator keep advertising Config.BrokerHost:BrokerPort, never the
listener's own address.

Accept closes a listener that a Shutdown before it never saw, and returns
the error when its listener is closed by anything but Shutdown instead of
retrying a dead socket.

Co-authored-by: Hanzo Dev <[email protected]>
2026-10-03 15:51:27 -07:00
..