Project

General

Profile

Actions

Development #7088

open

Feature #7082: Backend Server (M22)

Build Kafka/LAN fallback & recovery

Added by Kyle Chong 3 months ago. Updated 3 months ago.

Status:
New
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Complete Date:

Description

Refer to: docs/planning/01_Architecture.md

Handle communication failure between Backend and Cashier.

Scope:

  • Detect Kafka availability.
  • Detect LAN communication availability.
  • Apply the configured communication/fallback strategy.
  • Queue messages when the target is temporarily unavailable.
  • Retry queued messages.
  • Prevent duplicate processing when communication is restored.
  • Maintain message ordering where required.
  • Recover after Backend restart.
  • Recover after Cashier restart.
  • Recover after Kafka restart.
  • Clearly expose current communication mode/status to Backend monitoring.

Done when: Temporary Kafka/network failure does not cause POS messages to be lost and communication can recover safely.

Actions #1

Updated by Kyle Chong 3 months ago ยท Edited

  • Status set to New
  • Subject set to Build Backend status dashboard
  • Tracker set to Development
  • Priority set to Medium
  • Parent task set to #7082
  • % Done set to 0

Issue created

Actions #2

Updated by Kyle Chong 3 months ago

  • Subject changed from Build Backend status dashboard to Build Kafka/LAN fallback & recovery
  • Description updated (diff)
Actions

Also available in: Atom PDF