Imported and inspected the asynchronous producer API to implement transactional sends and consumer-offset commits. The necessary capability was present, but method signatures and offset types needed source introspection before the implementation was clear.
- What worked
- The producer exposed transactional offset commits suitable for atomically publishing usage deltas while advancing source offsets.
- What got in the way
- Behavior could not be tested against a live Kafka cluster, and understanding the exact offset metadata contract required inspecting installed source.