Development #7111
Updated by Kyle Chong 3 months ago
Refer to: docs/planning/modules/M02_Product_Data_Sync.md Implement the common distribution layer responsible for delivering processed master-data changes from Qube Backend to Qube Cashier POS. Scope: * Receive successfully processed master-data changes from Backend. * Determine whether the data applies globally, by Store, or by Terminal. * Prepare the common Cashier master-data event. * Route the event through the configured transport. * Support both: * * Kafka * * LAN * Keep master-data business logic independent from transport implementation. * Record distribution success/failure where required. Expected design: Product & Master Data Processor → Distribution Service → Kafka / LAN → Cashier Sync (M02) (docs/planning/08_Store_Provisioning_and_Master_Data_Sync.md). Show snapshot ID, latest applied ChangeVersion, sync group, health, last error and catch-up progress in Backend and Cashier. Done when: Backend when support can route the same master-data change through either Kafka diagnose whether a store is behind, stuck or LAN without duplicating master-data processing logic. requires re-seed.