The problem

The integration layer sits between everything, so it is blamed for everything. When a channel reports errors, the first call goes to the integration team, whether the cause is a backend, the network, a certificate or the channel itself.

Without a method, the first half hour goes to joining calls and restarting things. Restarts destroy the evidence, and the incident returns a day later.

This playbook gives the on-call engineer a fixed order of work. The goals, in order: stop the harm, find the failing hop, restore service, keep the evidence. Root cause comes later.

Minutes 0–5: Establish the scope

Three questions narrow the search faster than any dashboard.

QuestionIf yes
Is one consumer affected, or all of them?One consumer: look at that consumer, its credentials and its limits.
Is one operation affected, or all of them?One operation: look at the backend behind it.
Did it start at a precise time?Find what changed at that time: a release, a configuration change, a certificate expiry, a scheduled job.

Most incidents follow a change. Check the change record for the last 24 hours before anything else. If a release went out just before the start time, roll it back first and investigate afterwards.

Minutes 5–15: Find the failing hop

For each hop on the path, look at the same four signals. The failing hop is the first one, going inward, where they turn bad.

SignalWhat it tells you
Request rateA drop means requests are not arriving. A spike means a retry storm or an unusual load.
Error rateWhich errors, and from where. A rejection by the backend is different from a failure to reach it.
Response timeSlow responses come before errors. Timeouts at exact, repeated values point to a configured limit.
SaturationConnection pools, threads, queue depth, memory. A full pool makes a healthy backend look dead.
Reading the error tells you which side to call (illustrative)text
Symptom at the integration layer         Most likely place
---------------------------------------  --------------------------------
Connection refused                       Backend down, or network rule
Connection timed out                     Network path, or backend overloaded
Security handshake failure               Certificate expired or changed
Authentication rejected (all consumers)  Identity service, or a rotated secret
Authentication rejected (one consumer)   That consumer's credentials
Read timeout, backend healthy            Pool exhausted on our side
Queue depth rising, nothing consumed     Consumer stopped, or a poison message

Minutes 15–30: Restore service

Choose the least drastic action that stops the harm. Work down this list.

  1. Roll back the last change

    If anything was released or reconfigured near the start time. This resolves more incidents than every other action together.

  2. Fail fast on the broken backend

    Stop calling a backend that is not answering. Return a clear error straight away. This frees threads and connections, so the operations that do work keep working.

  3. Shed load

    Lower the limits for the least critical consumers. Protect payments before reports.

  4. Pause, do not purge

    For message flows, stop the consumer and let messages wait in the queue. They are safe there. A purged queue is lost business.

  5. Move the poison message aside

    If one message fails again and again and blocks the rest, move it to a holding queue with its details, and let the others flow.

  6. Restart, last, and one instance at a time

    Capture the logs and a thread dump first. Restart one instance and confirm that it helps before touching the others.

Do not restart everything at once

A full restart removes the evidence, drops work in progress, and sends every waiting consumer back at the same moment. If the cause was load, the restart recreates it.

Throughout: One short update every 15 minutes

One person works on the problem and another one communicates. The update has four lines, and it is sent even when nothing has changed.

Status update templatetext
Impact:    What users cannot do, and since when.
Scope:     Which channels and operations. What still works.
Status:    What we know. What we have done. What we are doing now.
Next:      Time of the next update.

State facts only. “We do not know yet” is an acceptable status. A guess that turns out to be wrong costs more time than it saves.

After service returns: Recover the work safely

  • Count what was affected. Requests that failed, messages that waited, items with an unknown outcome.
  • Resolve unknown outcomes by inquiry. Do not resend writes until you know whether the first attempt landed.
  • Replay slowly. Release held messages at a controlled rate. A backend that has just recovered will fall over again under the full backlog.
  • Reconcile. Compare both sides for the incident window before declaring it closed.

The next day: Three questions

  1. How did we find out?

    If a user told us before an alert did, the first action is a new alert.

  2. What took the longest?

    Finding the hop, getting access, reaching the right person. That step gets fixed.

  3. What would have limited the damage?

    A shorter timeout, a limit, an automatic fail-fast. That goes into the design, with an owner and a date.

Write the timeline from the logs, not from memory. Name systems and decisions, not people.

Prepare before the incident

Everything above is faster if these exist before the first call.

ItemWhy
A map of every pathChannel, gateway, flow, backend, with the owner and contact for each hop.
One dashboard per pathThe four signals for each hop, side by side.
A list of recent changesOne place to see what was released in the last day, across teams.
Certificate expiry alertsAt 30, 14 and 7 days. Expired certificates are the most avoidable incident.
Tested switchesFail-fast, load shedding and pause controls that the on-call engineer is allowed to use, and has used in a drill.
A rehearsalTwice a year, break something in a test environment and run this playbook.

Pitfalls

  • Hunting root cause while users are down. Restore first. The evidence you saved will still be there.
  • Raising timeouts or pool sizes in the middle of the incident. It often moves the pressure to a weaker system.
  • Ten people changing things. One person decides. Every action is written in the incident channel before it is taken.
  • Closing when the errors stop. The incident is closed when the affected work is recovered and reconciled.