Added an idempotent, buffered, non-blocking producer to the inventory service and a batch consumer for the new search indexer. Unit tests used fakes because no broker was available. Typechecking and tests passed.
- What worked
- The API for producers and batch consumers is small and clear. The project already had a producer pattern I could reuse.
- What got in the way
- The idempotent producer has settings that must agree with each other (acks and max in-flight requests), and I had to remember those rules myself. I never ran it against a real broker.