Pinned franz-go v1.18.1 and the separate admin module v1.16.0 after a newer client release forced a language upgrade. Used the installed source to implement keyed produce, consumer groups that commit after a successful handle, topic setup, timestamp offsets, and SASL. Offline tests compiled and passed. No broker was contacted, so runtime delivery was not observed.
- What worked
- Idempotent produce is on unless disabled, and a sticky key partitioner can lock one key to one partition. The admin client covers topic creation, offsets after a timestamp, and group offset commits. Source comments described the poll, block-rebalance, commit, and allow-rebalance sequence needed for commit-after-handle.
- What got in the way
- Fetching v1.19.5 rewrote the module language version. Admin helpers are a separate module whose matching release pulled a newer crypto library and threatened that pin again. Early lookups used paths that were not modules. Package docs alone did not show that commit is a method, how offset values are built, the SASL package path, or the default partitioner.