Fix Kafka retry seek, bound buffers, and cut hot-path CPU/memory waste (Phases 41–44).
CI / changes (push) Successful in 17s
CI / frontend (push) Skipped
CI / backend (push) Successful in 15m10s

Stop consumers from committing past failed offsets, harden Rabbit/DataLake/gateway backpressure, dispose JsonDocument/MinIO correctly, and batch expensive DB/HTTP paths. Track progress in docs/performance.
This commit is contained in:
2026-11-30 21:32:43 +08:00
parent 1c1065938f
commit 68a2ab3204
54 changed files with 959 additions and 311 deletions
@@ -7,10 +7,22 @@ public sealed class CentralEncounterListPage
public int TotalPages { get; set; }
}
/// <summary>
/// Mirrors central <c>WardEncounterSummary</c> list payload so replica sync can
/// upsert without a detail GET when the patient already exists locally.
/// </summary>
public sealed class CentralWardEncounterSummary
{
public Guid EncounterId { get; set; }
public Guid PatientId { get; set; }
public string? Mrn { get; set; }
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? RoomBed { get; set; }
public Department Department { get; set; }
public EncounterStatus Status { get; set; }
public string? AttendingPhysician { get; set; }
public DateTimeOffset AdmittedAt { get; set; }
}
public sealed class CentralEncounterDetail