Imported franz-go and its admin package to publish keyed records, consume in a group, commit offsets, and seek by timestamp. The newest release needed a newer Go than this repo, so the build was pinned to the 1.18.1 client and admin package 1.15.0. Partitioner, acks, offset listing, and commit behavior were checked in the module source. The client was compiled, and it was never connected to a broker.
- What worked
- The pinned release exposed idempotent produce, all-in-sync acks, sticky key partitioning, group consumption, and timestamp offset listing with greater-or-equal semantics. That was enough to write the relay, the group consumers, and the replay seek.
- What got in the way
- Release 1.19.5 could not stay because it required Go 1.23. The default key hash is not callable from application code, so the partition mapping was copied. Turning off auto-commit and which offset a commit must store were clear only after reading the library source.