TL;DR: Security data pipelines only deliver what the weakest hop, buffer, and acknowledgement path can sustain, according to Axoflow's analysis of UDP, TCP, HTTP, gRPC, Kafka, OpenTelemetry Collector, and AxoSyslog. Exactly-once is far harder end-to-end than teams assume, so architects need to design for backpressure, crash recovery, and idempotent downstream handling.
At a glance
What this is: This is an analysis of why message delivery guarantees in security pipelines are bounded by the weakest hop, buffer, and acknowledgement path, not the transport alone.
Why it matters: IAM, NHI, and SOC teams rely on trustworthy telemetry flows, so understanding where acknowledgements stop and loss or duplication can still occur is essential to incident handling and detection integrity.
Context
A security data pipeline is only as reliable as the point where data can still disappear without the source knowing it. The article challenges a common governance gap in SOC and detection engineering: teams assume that transport reliability or a downstream acknowledgement means the event is safely delivered.
That assumption breaks when applications, queues, buffers, and crash recovery sit between the source and the SIEM. The identity angle is indirect but real: when logs, audit trails, or access events are lost, IAM, PAM, and NHI governance lose the evidence they need to prove what happened and when.
The core problem is not just protocol choice but end-to-end delivery accountability across distributed systems. In practice, most security programmes are running a weaker delivery model than they think, which is typical rather than exceptional.
Key questions
Q: What breaks when a security pipeline assumes TCP means delivery is guaranteed?
A: TCP only guarantees that bytes reached the next receive buffer, not that the next application processed or forwarded them. In security pipelines, that means a crash or downstream failure can still lose data after the sender thinks the message is safe. Teams should treat plain TCP as at-most-once, not as a completed delivery guarantee.
Q: When should security teams prioritise at-least-once delivery over exactly-once?
A: They should prioritise at-least-once when the pipeline feeds detection, investigation, or compliance workflows that can tolerate duplicates but cannot tolerate silent loss. Exactly-once is difficult to achieve end to end once batching, branching, and restarts enter the picture. Idempotent downstream handling usually delivers better operational reliability than chasing perfect semantics.
Q: What are the signs that a log pipeline is failing at the delivery layer?
A: Common signs include unexplained gaps after bursts, backpressure that stalls upstream sources, duplicate records after restarts, and acknowledgements that arrive before downstream processing is complete. If one slow destination can halt another, the pipeline is already coupling delivery semantics more tightly than many teams realise.
Q: How should teams handle message delivery after a crash or restart?
A: They should assume some in-flight data may be replayed, duplicated, or still missing unless persistence and acknowledgement state were written durably. The correct response is to reconcile offsets, replay windows, and downstream deduplication logic before treating the pipeline as trustworthy again.
Technical breakdown
Why transport guarantees stop at the next hop
Protocols such as UDP, TCP, HTTP, and gRPC define how data moves between nodes, but they do not by themselves guarantee that the final application processed the message. UDP gives no acknowledgement at all. TCP only proves the bytes reached the next receive buffer. HTTP and gRPC can add application-level acknowledgements, but only if the receiving software actually confirms processing before replying. In security pipelines, the end-to-end guarantee is therefore bounded by the weakest hop and the weakest application behaviour in the chain.
Practical implication: Treat protocol choice as a ceiling on reliability, not a completed control.
How buffers and backpressure reshape delivery guarantees
Buffers absorb temporary overload, but they also change where acknowledgement can safely occur. An in-memory buffer is fast but fragile during crashes. A disk-backed buffer can act as a safer handoff point, allowing upstream acknowledgement once data is persisted, but it slows the pipeline and can still create duplication on restart. Backpressure propagates upstream when downstream processing slows, so delivery guarantees are inseparable from flow control and persistence design. A pipeline that cannot absorb pressure will either stall or drop data.
Practical implication: Size buffers and backpressure rules around recovery goals, not just throughput.
Why exactly-once delivery is hard in branched pipelines
Exactly-once delivery becomes difficult when a message is filtered, branched to multiple destinations, or processed in batches. Once one hop forwards to two destinations, the application has to track ownership until both paths confirm success. Batched delivery complicates acknowledgement ordering, especially after crashes or restarts, because the system may not know which individual records were already processed. Horizontal scaling adds another state-synchronisation problem because separate instances must agree on what has been acknowledged. That is why many real systems achieve at-least-once in practice, not exactly-once.
Practical implication: Design downstream consumers to tolerate duplicates instead of relying on perfect end-to-end semantics.
NHI Mgmt Group analysis
Delivery guarantees are a governance property, not a protocol property. The article shows that a pipeline can use reliable transport and still lose security telemetry when application acknowledgements stop too early. That matters because SOC, IAM, and NHI controls depend on evidence integrity, not just network uptime. Practitioners should treat delivery semantics as part of security governance, not as an engineering detail.
Exactly-once is the wrong default assumption for most security pipelines. The article makes clear that batching, branching, and crash recovery create duplication and replay hazards even when systems appear well behaved. In identity-heavy environments, duplicate or missing audit events can distort access investigations and break trust in log-based controls. Practitioners should assume at-least-once delivery and build idempotent handling downstream.
Disk buffering creates a safer boundary, but it also changes the control model. Once a message is written to durable storage, upstream acknowledgement can happen earlier, which improves resilience and flow control. That is a deliberate trade-off, not a free reliability gain. For security teams, the important question is where the safe handoff occurs and whether that boundary is monitored, recoverable, and operationally understood.
Security telemetry should be designed around evidence loss tolerance. The real risk in these pipelines is not just slower ingestion, but silent blind spots in audit and detection coverage. When access logs or alert events fail at a weak hop, the organisation may never know the event was lost. Practitioners should define acceptable loss, duplication, and replay behaviour before relying on the pipeline for investigation or compliance.
What this signals
Message delivery guarantees should be treated as part of security control design. If a pipeline cannot state where acknowledgement becomes durable, the organisation does not actually know when an event has been safely captured. That uncertainty matters most where log loss would weaken detection, investigation, or compliance evidence.
End-to-end reliability is usually the result of engineering discipline, not protocol choice. Backpressure, batching, branching, and crash recovery are the points where apparently strong transports become operationally weaker. Security teams should map those failure modes before relying on any pipeline for audit-grade telemetry.
For practitioners
- Define the delivery guarantee per pipeline segment Document whether each hop is fire-and-forget, at-most-once, at-least-once, or effectively exactly-once, and make that guarantee explicit for logs, alerts, and audit events.
- Place durable handoff points deliberately Use disk-backed queues or equivalent persistence only where the safe handoff materially improves recovery, and verify what is acknowledged upstream after persistence succeeds.
- Design downstream consumers to be idempotent Ensure SIEM parsers, enrichment jobs, and alerting workflows can tolerate duplicates, replays, and out-of-order arrivals without creating false confidence or missed records.
- Test failure modes across crash and backpressure paths Simulate slow destinations, broker saturation, batch failure, and ungraceful shutdowns so you can see where acknowledgements break and where messages are actually lost.
Key takeaways
- Security telemetry can be lost even when the transport looks reliable, because the real guarantee depends on every hop in the path.
- Exactly-once delivery is hard to preserve across batching, branching, and restart behaviour, so duplicate-tolerant downstream design is usually the safer assumption.
- The practical control is not chasing perfect protocol semantics, but defining durable handoff points and testing crash and backpressure failure modes.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.DS-01 — Data-at-Rest Protection | Durable buffering and safe handoff affect whether security data is preserved end to end. |
| PR.IR-04 — Adequacy of Backups | Disk buffers and replay behaviour rely on recovery assumptions that resemble backup resilience. | |
| DE.CM-01 — Networks and Network Services Monitored | Pipeline loss and backpressure undermine the monitoring signal that DE.CM-01 depends on. | |
| Recommendation — Map pipeline persistence points to PR.DS-01 and verify security data survives crash and restart paths. Test whether queued telemetry can be recovered after ungraceful shutdowns and storage failures. Monitor ingestion health so you can detect silent drops, stalls, and replay-heavy failure modes. | ||
| CIS Controls v8 | CIS-8 — Audit Log Management | The article is fundamentally about preserving trustworthy audit and telemetry delivery. |
| Recommendation — Manage log delivery paths so audit data is retained, transmitted, and recoverable under load. | ||
| MITRE ATT&CK | TA0009;TA0010 — Collection; Exfiltration | Lost or duplicated telemetry changes how collection and exfiltration activity is observed. |
| Recommendation — Map pipeline blind spots to Collection and Exfiltration so detection logic accounts for missing events. | ||
Key terms
- Message Delivery Guarantee: The level of assurance that a message reaches its intended destination and is confirmed as processed. In security pipelines, the guarantee is end to end only when every hop in the chain participates in acknowledgement and recovery correctly.
- Backpressure: Backpressure is the mechanism used to slow or control producers when consumers or brokers cannot safely absorb more traffic. In governance terms, it helps protect platform stability and prevents noisy or misbehaving clients from overwhelming shared event infrastructure.
- Application-Level Acknowledgment: Application-level acknowledgment is a delivery confirmation sent by the receiving software after it has processed data, not just received it at the network layer. It closes a common reliability gap in systems that otherwise only confirm kernel or socket receipt.
- Idempotent Downstream Handling: A design pattern where repeated delivery of the same message does not create duplicate state or duplicate alerts. This is essential when pipelines use at-least-once delivery, crash recovery, or replay mechanisms that can surface the same event more than once.
Deepen your knowledge
NHI Mgmt Group covers identity security, NHI governance, and agentic AI through independent research, practitioner guides, and the NHI Foundation Level course, the industry's only accredited NHI security programme. It is designed for practitioners who need to connect identity governance to operational resilience, evidence integrity, and access control decisions.
Published by the NHIMG editorial team on August 18, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org