From 8b62c7d3f61b6f1db8b2985e0939ca888f90a500 Mon Sep 17 00:00:00 2001 From: "R.I.Pienaar" Date: Thu, 29 Feb 2024 19:32:52 +0100 Subject: [PATCH] Minor formatting fixes Signed-off-by: R.I.Pienaar --- adr/ADR-41.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/adr/ADR-41.md b/adr/ADR-41.md index fc9b532..20dddfd 100644 --- a/adr/ADR-41.md +++ b/adr/ADR-41.md @@ -23,7 +23,7 @@ This describes a feature of the NATS Server 2.11 that allows messages to be trac ## Prior Work -NATS supports tracking latency of Request-Reply service interactions, this is documented in ADR-3. +NATS supports tracking latency of Request-Reply service interactions, this is documented in [ADR-3](adr/ADR-3.md). ## Design @@ -48,10 +48,11 @@ Not all messages are traced and there is no flag to enable it on all messages. This mode of Activation allows headers to be added to any message that declares where to deliver the traces and inhibit delivery to the final application. -|Header|Description| -|`Nats-Trace-Dest`|A subject that will receive the Trace messages| -|`Nats-Trace-Only`|Prevents delivery to the final client, reports that it would have been delivered (`1`, `true`, `on`)| -|`Accept-Encoding`|Enables compression of trace payloads (`gzip`, `snappy`)| +| Header | Description | +|-------------------|------------------------------------------------------------------------------------------------------| +| `Nats-Trace-Dest` | A subject that will receive the Trace messages | +| `Nats-Trace-Only` | Prevents delivery to the final client, reports that it would have been delivered (`1`, `true`, `on`) | +| `Accept-Encoding` | Enables compression of trace payloads (`gzip`, `snappy`) | The `Nats-Trace-Only` header can be used to prevent sending badly formed messages to subscribers, the servers will trace the message to its final destination and report the client it would be delivered to without actually delivering it. Additionally when this is set messages will also not traverse any Route, Gateway or Leafnode that does not support the Tracing feature.