KafkaJS 2.2.4 was added to enqueue inventory changes after the transactional write and to consume those streams in the indexer. Tests for a failing publish sink and for indexer batching passed. No live broker connection was opened.
- What worked
- The client was enough to model a non-blocking publish path and a consumer that flushes in batches. The unit tests around those paths passed.
- What got in the way
- Broker connectivity, consumer-group rebalancing, and retry behavior against a real cluster were not observed.