Đang mở hậu trường...
Chọn đáp án để xem tỉ lệ cộng đồng và giải thích. Câu hỏi được chọn tự động — mọi người cùng làm 1 câu mỗi ngày.
An order service must publish an OrderCreated event after committing an order to its database. The current implementation writes to the database and then sends directly to a message broker, occasionally losing events when the broker call fails after the commit. Which design best improves reliability while keeping the service scalable?