Development #7107
Updated by Kyle Chong 3 months ago
Refer to: docs/planning/modules/M02_Product_Data_Sync.md Define Database Design (docs/planning/modules/M02_Product_Data_Sync.md). There is no snapshot package implementation yet. Create a small test package containing one scoped Master.db and implement the common master-data event model to be shared by Qube Admin Portal, Qube Backend manifest. Prove checksum/signature validation and Qube Cashier POS. Scope: * Define common event structure for Add, Update and Delete/Deactivate. * Include required identifiers such as Event ID, Entity Type, Entity ID, Operation, Timestamp and Version. * Include Store/Terminal targeting where applicable. * Define topic naming and routing convention. * Define how duplicate and out-of-order events are identified. * Ensure atomic replacement. This POC must decide the event model is transport-independent so the same payload can be processed through Kafka or LAN. * Document sample payloads for development/testing. Done when: Common event contract is implemented/documented package format and can be used consistently by Admin Portal, Backend and Cashier. validation steps before development starts.