Project

General

Profile

Development #7087

Updated by Kyle Chong 3 months ago

Refer to: 

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

 Build the common 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. 

 Done when: Backend and Cashier can reliably exchange POS+ messages using the supported Kafka/LAN communication mechanisms.

Back