Project

General

Profile

Development #7112

Updated by Kyle Chong 3 months ago

Refer to: docs/planning/modules/M02_Product_Data_Sync.md 

 Implement Kafka as one supported transport for delivering master-data changes from Backend to Cashier. 

 Scope: 

 * Publish Backend master-data changes to Product & Master Data Sync (M02) (docs/planning/modules/M02_Product_Data_Sync.md). Build first-run installation of the configured Cashier Kafka topic. 
 * Support Store/Terminal routing where required. 
 * Follow the common M02 event contract. 
 * Handle Kafka connection/publishing failures. 
 * Implement appropriate retry/recovery behaviour. 
 * Provide useful publishing diagnostics. 
 * Confirm multiple Cashier terminals can consume the required data correctly. 

 verified Master.db snapshot. Validate checksum, signature and schema before atomically placing it in local storage; save supplied LastSyncChangeVersion. Done when: A master-data change processed by Backend can be delivered successfully to when a partial or tampered package never becomes the intended Cashier POS through Kafka. active database.

Back