RocketMQ Production Runbook: Cluster Delivery, Topic Governance & Failure Drills
This final article in the RocketMQ series consolidates nine prior mechanism deep-dives into a practical runbook covering cluster delivery checklists, topic matrix governance, quarterly failure drills, a 10-category incident quick-reference, big-promotion contingency timelines, and executable scripts for broker configuration, delivery validation, and traffic degradation.
Reading font

Introduction
This concluding article of the RocketMQ series transforms the mechanisms covered in the previous nine articles (sending, storage, consumption, reliability, ordering, HA, tuning, monitoring) into a daily-use runbook. The author emphasizes: mechanisms determine the floor; operations determine the ceiling — teams with a runbook recover from failures an order of magnitude faster.
Three core threads run through the runbook: ① Delivery traceability — every onboarding step produces an artifact so that six months later you can still answer why a configuration exists; ② Governance ledger — a topic matrix captures every commitment for a topic, and an outdated matrix is more dangerous than none; ③ Drill-backed playbooks — a playbook's confidence comes from its last drill timestamp, not document thickness — a playbook undrilled for six months is treated as non-existent.
Three Real Incidents That Motivate the Runbook
Incident 1: Unrehearsed Master Failover, Client Routing Cache Stale for 30 Seconds, 5 Minutes of Lost Writes
A master crash triggered Dledger auto-election (Article 07), which completed in 10 seconds. However, half the producer instances kept sending to the old master address, reporting REMOTELY_RPC_ERROR for 5 minutes until recovery. Root cause: client routing table refreshes only every 30 seconds by default, and some instances' retry logic masked failures as slow sends, so monitoring didn't alert immediately. Mitigation: restart app instances to force routing refresh. Root fix: add master failover drills to the quarterly calendar (the drill exposed this exact issue), reduce routing refresh interval to 10 seconds, tighten send-failure-rate alert thresholds. Key insight: election success ≠ recovery; client routing lag is the last mile of the HA chain.
Incident 2: No Matrix Governance, Logging Topic Mixed into Transaction Cluster, Sync Replication Cost Doubled and Cross-Contaminated
A team created a "tracking log push" topic in the transaction cluster (to avoid requesting a new cluster). Because the transaction cluster used SYNC_MASTER (Article 07), 30k log messages/sec also went through synchronous replication — saturating broker replica bandwidth and triggering master-slave diff alerts (Article 07) for real order topics. Mitigation: migrate log topic to async cluster. Root fix: establish a topic matrix registration system : new topics must fill nine columns (ownership, reliability level, ordering, latency, backlog window, large-message threshold, queue plan, consumer groups, retention), and cannot be created without review approval. Without a ledger, cost and risk grow in the dark.
Incident 3: No Big-Promo Playbook, Disk Full Rejection Caused Two Hours of Panic
During a big promotion, an order-topic broker hit 85% disk (Article 04's three watermarks), triggering write rejection. The on-call engineer didn't know the first action — flipped through docs, asked chat groups, tried parameters for two hours while order sends failed and retries piled up. Postmortem: disk growth projection (Article 09 capacity extrapolation) had already shown "70% within 7 days", but no expansion review was executed; rate-limiting/degradation SOP existed but had never been drilled, so the engineer dared not follow it. Warning data was ready; what was missing was a playbook that turns data into action and drills that turn playbooks into muscle memory.
1. Cluster Delivery: Onboarding Is Not Just Installing Software, It's Completing a Checklist
Five delivery steps, each with a concrete artifact:
Planning — capacity & deployment report (machine count, disk budget, replication/flush policy by asset tier)
Deployment — deployment checklist (nameserver ≥2 cross-rack, broker pairs or Dledger groups)
Calibration — baseline stress-test report (Article 08's five-step method output)
Onboarding — topic matrix (next section's nine-column ledger)
Acceptance — checklist pass + drill pass
Every artifact is persisted; this file set becomes the cluster's "factory dossier" — used for new-hire handover, postmortems, capacity reviews.
Onboarding Checklist: 10 Hard Gates
① Dual nameservers cross-rack, ② Broker pairs, ③ Replication/flush by asset tier, ④ OS four-piece suite (file handles 1M, swap off, SSD scheduler none, page-cache watermarks), ⑤ Monitoring alert chain drilled (DLQ triggers phone call), ⑥ Daily patrol reports produced for three consecutive days — items 1-6 are infrastructure baseline; the remaining four cover config baseline, consumer onboarding spec, drill records, and doc archiving.
No acceptance pass = no traffic onboarding. The five steps must finish before business teams can request topics. Delivery discipline precedes business pressure — the hardest rule to enforce in real projects (business always says "connect first, fix process later"), but every shortcut accident reinforces this discipline.
Environment Layering: The Foundation of Delivery
dev — functional verification only (config can be loose)
staging — dedicated stage for stress tests and drills ( disk type must match prod , otherwise fsync conclusions are invalid — lesson from Article 08)
prod — full discipline (changes via ticket, params from calibration report)
All three environments' expected configs live in Git; the patrol script (Article 09) drift comparison uses this baseline. No copying params from dev to prod — "dev runs" ≠ "prod withstands"; each environment gets its own calibrated numbers.
Delivery Quality = Traceability
Six months later you can still answer: "Why this config? What's the capacity ceiling? When was the last drill?" If all three are answerable, delivery passes. Unanswerable parts are debt: prioritize repaying by the interest (next failure's investigation time).
Three Common Shortcut Patterns & Countermeasures
"Connect first, process later" — counter: make checklist a hard gate in the CI pipeline (next section's check script exit code blocks topic creation)
"Tested in test env" — counter: require requester to provide estimated peak, map against baseline stress-test knee point (Article 08), if >70% of knee then expand first
"Same config as last cluster" — counter: calibration step never waived, even if simplified to core path only
All three shortcuts push delivery cost to future failure scenes — delivery discipline guards the floor, not the process.
Often Overlooked Closing Action: Knowledge Handover
Cluster delivery done ≠ team can operate. Walk the factory dossier (planning report, calibration report, matrix, checklist) plus on-call handbook through a handover session. Every ops person must know: where are docs, where are scripts, where is the drill calendar. Missing handover creates the absurd state of "docs complete but nobody knows" — during incidents the team re-explores already-answered questions. The last step of delivery is not go-live; it's handing the knowledge to the ops team.
2. Topic Matrix: One Row per Topic, Full Accountability
Nine columns, each born from a real incident:
Business Ownership (owner & purpose — who to call when things break)
Reliability Level (L1/L2/L3 — Article 05, decides replication/flush combo)
Ordering Requirement (ordered/concurrent — Article 06, decides key design)
Latency Need (level/timing wheel — Article 06)
Backlog Window (tolerable duration — Article 09 alert threshold basis)
Large Message Threshold (admission gate — Article 08)
Queue Count & Expansion Plan (Article 06 routing math)
Consumer Group List (Article 03 subscription consistency)
Retention & Disk Budget (Article 04)
All nine must be filled before topic creation — not bureaucracy, but forcing alignment of Articles 02-08 knowledge at creation time.
Topic Lifecycle: Five Steps
Request (fill nine columns) →
Review (capacity & level mapping, 15 min) →
Create (apply matrix params) →
Change (scale, level change, key change all write back to matrix) →
Retire (offline must reclaim, dead topics cleaned monthly — Article 09 patrol ⑦)
Matrix is a living doc: every change writes back; an expired matrix is more dangerous than none — on-call uses old matrix to find owner and can't, uses old level for failure decisions and goes wrong direction.
Two Costliest Planning Errors
One topic, multiple purposes — order status mixed with log push, reliability level forced high (logs also get sync replication), cost doubles and they drag each other down (Incident 2)
Split by team instead of business flow — one topic, five groups subscribing, params fight each other (Article 03 subscription consistency cost)
Splitting principle in one sentence: Same reliability level + same consumption semantics + same latency needs = same topic; cross-level or cross-semantics = separate topics. Merging cost is low (a few more topics); wrong merge cost is high (level mismatch, subscription contention).
Matrix Caliber Example
Order payment topic row: L3 (sync replication + sync flush) + ordered (orderId as key) + backlog window 1 min + message cap 64KB + queue count 16 + single consumer group + retention 72h. One row states the topic's full promise: on-call uses it for failure decisions, capacity uses it for expansion plans, business uses it to confirm SLA — all rows together form the cluster's balance sheet.
Matrix-Patrol Linkage: From Document to Mechanism
Matrix expected params live in Git (per-topic queue count, retention, permission bits). Patrol script weekly compares broker's actual topics.json against this expectation — drift triggers alert (Article 09 ⑩'s other half). This turns silent drifts like "temp permission widened during incident" or "manually added queue" into system alerts: both disappear on restart or linger permanently, both are hazards. Matrix governs 'what should be', patrol governs 'what is', diff = governance todo list — weekly governance meeting directly assigns tasks from this diff.
3. Failure Drills: Undrilled Playbook = No Playbook
Drill calendar runs quarterly, four drill types rotate:
Master Failover Drill (kill master, observe election & recovery — Article 07 Dledger live test)
Backlog Drill (generate lag, watch on-call handling — Article 09 three-branch muscle memory)
Write Rejection Drill (fill disk, test rate-limiting/degradation — Article 04 watermark playbook validation)
DLQ Drill (inject poison messages, test alert & handling — Article 05 dead-letter path)
At least two per quarter, master failover and DLQ mandatory — these are the heaviest scenarios (one impacts write continuity, the other means definite business loss); the other two rotate.
Drill in Staging, Acceptance Against Prod SOP
On-call follows handbook; action mismatch = SOP back to rewrite. Master failover drill full script in six steps:
T-0 Launch ( kill -9 master)
T+10s Observe Election
T+30s Verify Send Success Rate Recovery
T+1m Verify Consumer Offset Continuity
T+5m Retrospective Diff & Alert Timeliness
T+1d Backfill Monitoring Blind Spots
Incident 1's "routing cache 30s stale" was exposed exactly at the T+30s verification point.
Typical Drill-Exposed Issues: Four Common Patterns
Routing cache not refreshing
Phone tree numbers expired
SOP says "switch traffic" but not "how to switch"
SOP's first command renamed
All are document-reality drift. Drills are the only systematic way to discover drift. Every drill outputs three things: Timeline (actual duration per step), Blind Spot List (monitoring/alert gaps), SOP Revision (mismatched actions fixed in handbook) — drill value is entirely in the backfill; drill without revision = wasted drill.
Drill Meta-Rule
Playbook confidence comes from last drill timestamp — undrilled for six months = treat as non-existent. Drill cost controllable (staging half-day each); cost of not drilling is failure-scene tuition: Incident 3's on-call "dared not follow SOP" root cause was that SOP had never been practiced. Only practiced playbooks give you on-calls who dare to act.
4. Ten-Category Incident Quick-Reference: On-Call's Desk Reference
Quick-reference compresses the series' incident knowledge into four columns: Symptom → First Check → Fix → Source Article .
Write-Side Five Categories
Send timeout storm (first check broker queue & fsync — Article 08 queue-slow fingerprint)
System write rejection (check disk three watermarks — Article 04)
Master-slave diff over threshold (check slave disk & report — Article 07 dual alert lines)
Post-election send failure (check routing cache & Dledger state — Article 07 + this article Incident 1)
Transaction check-back anomaly (check state table & check-back records — Article 05)
Consume & Ops-Side Five Categories
Backlog spike (three-branch classification — Article 09)
DLQ increase (pull message, classify exception three ways — Article 05 poison message verdict)
Subscription contention (check consumer group subscription consistency — Article 03)
Poison message stall (single queue backlog, check verdict — Article 06)
Connection refusal misjudged as crash (check file handles & process health — Article 08)
Usage Discipline: Two Rules
On-call acts by table, no freestyle — if first check doesn't match, escalate instead of guessing: table covers 80% common incidents; remaining 20% rely on escalation path, not heroics.
After every real incident, back-check — was it in the table? If not, add a row: quick-reference and Article 09's monitoring closed loop share the same DNA — both are "incident-fed living docs". Granularity unified at command level: each incident's first check is a single copy-pasteable command; on-call does no on-site reasoning.
Quick-Reference & Alert Copy: Upstream-Downstream Relationship
Alert copy's "first command" (Article 09 three elements) = quick-reference's first check for that incident — when alert fires, on-call already has first check in hand; opening quick-reference is for 'fix' and 'source' . This forces the two docs to share a repo: alert rule changes alertname, quick-reference corresponding row must rename in sync, otherwise on-call searches by alertname and finds nothing. Engineering practice: each quick-reference row's incident name maps 1:1 with alert rule's alertname (same naming scheme), on-call handbook indexes by alertname — alert, quick-reference, handbook strung by one key so on-call never gets lost between docs .
Beyond Ten Categories: Escalation Methodology
When quick-reference doesn't cover, on-call follows "Classify → Locate → Escalate" three steps — first classify via Article 09's four-layer metrics (business vs MQ vs system layer), then locate via Article 08's four-segment chain (producer, network, broker, consumer — which segment's watermark abnormal), if no progress in 15 minutes escalate to L2 (on-call escalation path never waived by incident type). Escalation brings three things: symptom screenshot, first-check commands run & output, impact assessment — L2 takes over without starting from zero guesswork. Quick-reference handles common; methodology handles exceptions — the series' ten articles are tables & scripts for daily 80%, and location methodology for the 20% exceptional moments — this is the difference between "memorizing tables" and "understanding principles".
5. Big-Promo Playbook: Compress Capacity Discipline into a Timeline
Big-promo playbook runs on a T timeline with four nodes:
T-7 Expansion — peak profile ×3 mapped against (Article 08 calibration report's capacity knee, take smaller of knee and 70% headroom), expansion actions include disk, broker instances, consumer group pre-scale
T-1 Freeze — change freeze (any MQ change frozen during promo week, including "seemingly harmless" topic param tweaks), playbook doc & on-call roster final confirmation
T0 Standby — watch three red lines: disk watermark, master-slave diff, DLQ increment , any breach triggers immediate playbook escalation (these three are earliest signals for capacity incident, HA incident, business loss incident respectively)
T+1 Retrospective — expansion reclaim (decide retention by actual peak), playbook revision, drill record update
The three red lines are not a separate system from daily monitoring tiers (Article 09); they are the three P0 alert entry points, promo merely tightens response SLA (P1 also upgraded to phone call). Playbook's "six action types" ready at T-7: rate-limit switch (client or broker flowlimit), degradation switch (non-core topic pause send), expansion pre-position (new brokers added but not taking traffic), consumption isolation (promo topic exclusive broker or queue), on-call roster (two-shift + L2 standby), rollback path (every change's rollback command written into playbook). Every command in playbook has been drilled in staging — Incident 3's lesson made this a hard constraint.
Playbook value extends beyond big promos: it's the universal skeleton for any "expected super-normal traffic" scenario — version upgrade, datacenter migration, flash marketing traffic, downstream recovery catch-up — all follow the same "pre-position expansion → watch red lines → reclaim & retrospective" flow. Playbook skeleton built once, reused across scenarios — teams that only write playbooks before big promos are always rushing and rusty; teams that make playbooks standing assets (scripts resident, quarterly drills, per-scenario tweaks) treat big promo as just another "by-the-book drill". This is the fifth account's "buy once, use N times" — big-promo playbook is the mother template for all playbooks.
6. Production Toolkit: Three-Piece Delivery Kit
The finale delivers three pieces: broker full skeleton config (fusing Articles 04-08 conclusions into final form), delivery check script (checklist automation), big-promo rate-limit/degradation script (playbook actions). Together they form the runbook's core chapters.
6.1 Broker Full Skeleton Config (Finale Fusion Edition)
# ==== rocketmq broker 全量骨架 ====
brokerClusterName=DefaultCluster
brokerName=broker-a
brokerId=0 # 0=master
# --- 可靠性(05 篇: 按资损定级) ---
brokerRole=SYNC_MASTER # 交易线同步
flushDiskType=ASYNC_FLUSH
# --- 存储(04 篇: 水位与保留) ---
diskMaxUsedSpaceRatio=75
fileReservedTime=72 # 小时
# --- 性能(08 篇: 标定后填) ---
sendMessageThreadPoolNums=16
sendMsgQueueCapacity=10000
transientStorePoolEnable=true
warmMapedFileEnable=true
# --- HA(07 篇) ---
haListenPort=10912
brokerIP1=10.0.1.11
# --- OS 四件套(08 篇, 脚本核对) ---
# ulimit -n 1000000
# vm.swappiness=0
# SSD elevator=noneEvery line annotated with source article — parameter values aren't the point; the point is "every item knows why it exists" : reliability three items by asset tier (Article 05 five factors), storage three items guard watermarks & retention (Article 04), performance four items from calibration report (Article 08), HA two items paired (Article 07), OS four-piece is baseline (Article 08). During cluster handover, this sourced skeleton is the best manual.
6.2 Delivery Check Script (Checklist Automation)
#!/bin/bash
# delivery-check.sh 交付验收自动核对
NS=127.0.0.1:9876
ok=0; bad=0
chk() { $2 && echo "PASS: $1" \
|| { echo "FAIL: $1"; bad=1; }; }
# 1) nameserver 存活数
n=$(sh mqadmin clusterList -n $NS \
| grep -c "NS_ADDR")
chk "nameserver>=2" "[ $n -ge 2 ]"
# 2) broker 成对
sh mqadmin clusterList -n $NS \
| grep -q broker-b
chk "slave exists" "true"
# 3) OS 句柄
chk "ulimit>=100w" \
"[ $(ulimit -n) -ge 1000000 ]"
# 4) 水位
d=$(df / | awk 'NR==2{print $5}')
chk "disk<70%" "[ $d -lt 70 ]"
[ $bad -eq 0 ] && echo "ALL PASS"Script automates checklist verification: each check outputs PASS/FAIL with exit code — non-zero exit = checklist fail, wired into CI or release pipeline, "no acceptance pass = no traffic" turns from discipline into mechanism. Items script can't cover (drill records, doc archival) go through manual sign-off : automation handles machine state, sign-off handles process state, together they form complete acceptance.
6.3 Big-Promo Rate-Limit/Degradation Script (Playbook Actions)
#!/bin/bash
# promo-guard.sh 大促预案动作
NS=127.0.0.1:9876
case "$1" in
# 降级: 非核心 topic 暂停发送
degrade)
sh mqadmin updateTopic \
-n $NS -t promo-log \
-p 6 -r 6 -w 6
echo "promo-log 已降级"
;;
# 恢复
restore)
sh mqadmin updateTopic \
-n $NS -t promo-log \
-p 8 -r 8 -w 8
;;
# 状态速览: 三红线
status)
d=$(df / | awk 'NR==2{print $5}')
echo "disk:$d"
sh mqadmin brokerStatus -n $NS \
| grep broker_a_diff
;;esacWith playbook actions scripted, on-call executes not "remembered steps" but "reviewed commands": degrade one command drops non-core topic read/write perms (perm bitmask), restore one-click recovery, status one command outputs three-red-line snapshot. Scripts entered staging drills, command real outputs entered on-call handbook's expected-output column — this is the difference between "practiced playbook" and "paper playbook".
7. Core Source Code: Four Key Implementations
1. Client Routing Refresh — HA's Last Mile (This Article Incident 1)
// producer: 路由定时刷新(简化)
public void updateTopicRouteInfo() {
// 默认每 30s 刷新一次
// -> 切主后路由滞后可达 30s
for (String topic : topics) {
TopicRouteData route =
mQClientAPIImpl
.getTopicRouteInfoFromNameServer(
topic, 3000);
// 与本地缓存比对, 有变化才更新
if (!route.equals(
routeTable.get(topic))) {
routeTable.put(topic, route);
}
}
}This code explains Incident 1: after election succeeds, producer waits for next 30-second cycle to fetch new route from NameServer — "routing lag 30s" is HA chain's default property. Governance actions: refresh interval to 10s (netty common config), tighten send-failure-rate alert (lag-period failures manifest as retries), master failover drill's T+30s verification quantifies this lag.
2. Broker Write Rejection Judgment — Three Watermarks Implementation
// DefaultMessageStore: 拒写判断(简化)
public boolean isSpaceAvailable() {
// 磁盘水位: 85% 拒写线
double ratio = diskUsageRatio();
if (ratio >= 0.85) {
log.warn("disk full, reject");
return false; // 写入被拒
}
// 保留时间: 过旧文件先删
if (!diskFullCheckRetry()) {
return false;
}
return true;
}Rejection is not a bug but a safeguard: when watermark crosses, broker refuses writes rather than let disk fill (full disk corrupts CommitLog append semantics). On-call seeing "system write rejection" alert first action is check disk watermark & growth rate (Article 04), not restart broker — rejection state persists after restart; only cleanup or expansion resolves.
3. Topic Config Persistence — Matrix System's Broker-Side Landing
// TopicConfigManager: 配置落盘(简化)
public void persist() {
// 全部 topic 配置序列化
String json = JSON.toJSONString(
topicConfigTable);
// 写 topics.json + 备份
MixAll.string2File(json,
topicJsonFile);
// 变更即落盘:
// 重启后从文件恢复, 不靠内存
}Every topic create/modify, broker serializes entire TopicConfigTable to topics.json with backup — this is Article 02's "topic is metadata" entity. Ops implication: edit file directly less effective than mqadmin (admin API triggers persistence & master-slave sync); matrix write-back (Section 2) diff against this file is config drift check (Article 09 ⑩)'s other half.
4. Consumer Group Subscription Consistency Check — Matrix Review's Third Column
// broker: 订阅一致性(简化)
public boolean checkSubscription(
String group, SubscriptionData sd) {
SubscriptionData old =
subscriptionTable.get(group);
// 同组订阅必须一致(03 篇互踩)
if (old != null
&& !old.equals(sd)) {
log.warn("sub conflict {}",
group);
return false; // 拒绝不一致
}
subscriptionTable.put(group, sd);
return true;
}Same-group different-subscription rejection happens at broker side: second inconsistent subscriber gets registration refused — Article 03 "subscription contention" server-side fence. Ops implication: one consumer group = one subscription is hard constraint; multi-semantics split groups; matrix's consumer group list column prevents this — group name & semantics 1:1 registered, new group onboarding checks list first. Four segments linked: routing refresh (recovery's last mile), write rejection (lifeline), config persistence (matrix entity), subscription check (contention fence) — delivery, matrix, drill, quick-reference four sections' ops actions all have code-level anchors.
8. Seven Accounts: Operational System's Real Costs
Account 1: Delivery Account
Five-step delivery ~two weeks (incl. calibration stress-test). Time saved by shortcuts gets repaid double at first failure — cluster without calibration report discovers capacity issues by live trial-and-error, each trial a potential incident. Delivery cost is "one-time upfront"; shortcut cost is "monthly installment debt".
Account 2: Matrix Account
Nine-column matrix first registration ~20 min per topic, subsequent write-back ~2 min — compared to its ROI (direct defense against level mismatch, subscription contention, owner loss three high-frequency incident classes), this is the series' highest ROI ops investment. Matrix maintenance cost mainly in "living": expired matrix value is negative; write-back discipline matters more than initial build.
Account 3: Drill Account
Two drills per quarter, half-day each (staging), ~4 workdays/year — versus what it buys: on-call dares follow SOP (Incident 3's core pain), doc drift systematically cleaned (four typical patterns), master failover lag quantified (Incident 1). Drills are the only path converting "paper capability" into "muscle memory".
Account 4: Playbook Account
Big-promo playbook authoring ~one week (six action types + scripting + drills), but reusable: beyond big promo, version upgrades, DC migrations, flash traffic all share same playbook skeleton — playbook authoring is buy-once-use-N-times investment ; teams that only remember to write before big promo are always rushing.
Account 5: Quick-Reference Account
Ten-category table first version half-day (extracted from nine articles), then each real incident backfills one row — lowest cost, highest usage frequency (every on-call shift consults). Risk is "nobody maintains": post-incident no back-check, table freezes at delivery version, half-year later half obsolete.
Account 6: Script Account
Delivery check, patrol, playbook actions — three script families ~one week dev, then quarterly updates per checklist changes — script's hidden cost: "scripts are also production components" (Article 09 meta-rule): they break, drift, need monitoring. Scripting ROI in on-call quality (no on-site reasoning), cost in script maintenance — account both sides.
Account 7: Finale Account
Twisting nine articles' mechanisms into runbook one-time cost ~two weeks (this article's volume), then every postmortem backfill, every drill backfill iterates it — runbook is the only asset in this system that "compounds with use": it turns individual experience into organizational asset, turns "that one on-call is skilled" into "whoever is on-call is skilled".
Runbook TOC (This Article's Five Figures Archived)
Chapter 1 Delivery (Fig 1 checklist + script), Chapter 2 Governance (Fig 2 matrix), Chapter 3 Drills (Fig 3 script), Chapter 4 Quick-Reference (Fig 4 ten incidents), Chapter 5 Playbook (Fig 5 timeline), Chapter 6 Config (6.1 full skeleton + sources), Chapter 7 Source Anchors (code-to-config cross-ref) — chapter = responsibility: on-call reads Ch4, capacity review reads Ch2, new-hire reads Ch1 . Runbook is not a doc pile; it's a scenario-indexed toolbox, each chapter with clear reader & trigger moment.
9. 20 Interview Questions (with Answers)
Comprehensive Q&A covering all sections: delivery five steps & artifact rationale, checklist core items, environment layering discipline, topic matrix nine columns, why expired matrix dangerous, topic splitting principles & two costliest errors, drill calendar & mandatory two, master failover drill six-step script, typical drill-exposed issues commonality, why six-month-undrilled playbook treated as non-existent, quick-reference structure & discipline, big-promo timeline four nodes, six action types, client routing refresh mechanism & incident lesson, broker write rejection vs disk full, topics.json & ops注意事项, subscription consistency server-side fence, highest ROI among seven accounts, why runbook compounds, series finale: one thread linking ten articles.
10. One-Page Cheat Sheet
Condensed essentials: delivery five steps, checklist, matrix nine columns, splitting principle, drill quarterly, quick-reference discipline, big-promo timeline, three red lines, HA last mile, runbook compounding.
Conclusion: Turn Mechanisms into Muscle
Reviewing the main thread: a message's life — from producer's retry budget (Article 02) into CommitLog & page cache (Article 04), pulled by consumer group (Article 03), carrying five-factor-multiplied reliability promise (Article 05) and business semantics of ordering & time (Article 06), protected by Dledger (Article 07), fed by calibration report (Article 08), guarded by monitoring closed-loop (Article 09) — finally twisted into a runbook in this article: delivery five steps, matrix nine columns, drills four quarters, quick-reference ten rows, playbook one line. And all this rests on Article 01's foundation: "architecture trade-offs must first consider ops cost".
If you only take three sentences: Reliability = five factors multiplied, weakest link decides promise (Article 05); Tune after baseline, thread count decided by downstream (Article 08); Playbook confidence comes from drill timestamp (this article). Technologies age, versions rotate, but "baseline before action", "alerts must carry actions", "playbooks must be drilled" — these three disciplines hold on the next middleware too.
For questions about attribution, corrections or content rights, please contactand we will review it promptly.