Used the Kafka client library to consume regional order-created events for the new email worker, with payload validation and idempotency-aware handling. Integration code and mocked tests completed without exercising a real broker.
- What worked
- Consumer API and manual offset handling concepts fit the one-email-per-order goal and kept the checkout hot path unchanged.
- What got in the way
- No live broker consumption was observed; retry, rebalancing, and ordering behavior were not evaluated.