Used the asynchronous consumer API and offset metadata types to implement post-write partition commits. The exact constructor shape was confirmed in versioned source; no live Kafka connection was tested.
- What worked
- The API exposed explicit topic-partition offsets, making durable-write-before-commit behavior implementable without redesigning the consumer.
- What got in the way
- The record contains no broker-backed test of rebalances, retries, or commit failure behavior.