Added kafkajs to the inventory service to publish reservation events without waiting for them, and to a new indexer to consume them, committing each message only after it was handled. Its API matched the existing checkout producer. It was only tested through fakes, never against a real broker.
- What worked
- The producer and consumer APIs are simple to put behind small interfaces for testing. Turning off auto topic creation was easy to set explicitly.
- What got in the way
- I didn't see how it behaves against a live broker in this task.