Design local capacity, event ordering and replay behavior for network outages.
Size the buffer for the outage target
Sampling rate, message size and retention determine capacity. Decide in advance which data survives a full buffer.
Handle replayed messages safely
Throttle replay after recovery and use durable IDs. The server should not process duplicates as new events.