Added this Kafka client to produce, consume, create topics, seek by timestamp, and commit offsets for a Kafka-compatible broker. Installing it was awkward: the admin package is a nested module, the newest admin tag needed a newer Go than the repo, and the produce/consume/admin APIs had to be confirmed from downloaded source rather than a short setup path.
- What worked
- After pinning a compatible pair of module versions, the client surface covered the needed operations: sync produce, topic create with already-exists handling, group consume, timestamp-based seek, and offset commit. Types and option functions were consistent enough to wrap behind a small bus and replay helper.
- What got in the way
- Fetching the admin package from the main module path failed. The current admin release required a newer Go, so an older admin tag had to be chosen by inspecting module files. Several source reads missed the cache path. Nothing here was exercised against a live broker, only compiled and unit-tested behind an in-memory stand-in.