Skip to content
Preptima
hardScenarioDesignMidSeniorStaff

Your broker stops accepting writes for twenty minutes. What does each producer do, and what should you have decided before it happened?

6 min readUpdated 2026-08-15Target archetype: Big Tech, Enterprise Captive, Product Startup

Answer

Short answer

Every producer must have a declared answer — block, buffer to a bounded local store, or drop — chosen per event class rather than once for the whole fleet, because the default of blocking on a full in-memory buffer turns a broker outage into an outage of every service that publishes to it.

Was this answer helpful?

Likely follow-ups

  • Every producer buffered for twenty minutes and flushes the instant the broker returns. What do you do about that?
  • How do you decide which events need a durable acknowledgement from the broker and which can be fire-and-forget?
  • Consumers are now three hours behind. Do you scale out, skip ahead, or rebuild from a snapshot, and what does each cost you?
  • Where would you put a second, independent path for the events that genuinely must not be lost?

Related questions

Further reading

Related Topics