Project

General

Profile

Development #7087

Updated by Kyle Chong 3 months ago

Refer to: 

 * docs/planning/01_Architecture.md 
 * applicable synchronization MDs 

 Backend Server (docs/planning/01_Architecture.md). Build the common documented Backend ↔ Cashier communication mechanism. 

 Scope: 

 * Support Kafka-based communication. 
 * Support the defined LAN/local communication mechanism. 
 * Handle Backend → Cashier messages. 
 * Handle Cashier → Backend messages. 
 * Standardize message envelope including: 
 * Message ID. 
 * Message type. 
 * Store. 
 * Terminal. 
 * Timestamp. 
 * Payload/version. 
 * Prevent duplicate message processing. 
 * Track acknowledgement/processing result. 
 * Retry failed messages where appropriate. 
 * Ensure Cashier transaction processing is not unnecessarily blocked by temporary communication failure. 
 * Provide message status information to the Backend dashboard. 

 API, worker or service. Define contracts, retries, security and diagnostics, then add automated tests. Done when: Backend and Cashier can reliably exchange POS+ messages using when Cashier/QubeBiz integration passes the supported Kafka/LAN communication mechanisms. linked acceptance scenario.

Back