Actions
Development #7441
openFeature #7116: POS Terminal & Cart (M03)
Build Cashier-to-Backend transaction sync via Kafka
Status:
New
Assignee:
Start date:
Due date:
% Done:
0%
Estimated time:
Complete Date:
Description
Refer to: docs/planning/modules/M03_POS_Terminal_Cart.md
Implement Kafka as one supported transport for sending completed Cashier transactions to Qube Backend.
Scope:
- Pick up completed/pending transactions from transactions.db.
- Convert transaction into the agreed POS+ sales transaction message.
- Publish to the configured Kafka topic.
- Record synchronization status.
- Do not resend already acknowledged transactions as new transactions.
- Handle Kafka unavailable/network interruption.
- Retry pending transactions when connectivity returns.
- Maintain sufficient diagnostics for publishing failures.
- Cashier sales operation must continue while Backend/Kafka is unavailable.
Done when: A completed local transaction can be delivered reliably from Cashier to Backend through Kafka and offline transactions resume syncing after reconnection.
Actions