From 9d1e79110cd6b941152c79d3744020342c83716c Mon Sep 17 00:00:00 2001 From: Ginger Collison Date: Fri, 5 Feb 2021 15:12:28 -0600 Subject: [PATCH] updates based on RI changes to README --- jetstream/model_deep_dive/model_deep_dive.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jetstream/model_deep_dive/model_deep_dive.md b/jetstream/model_deep_dive/model_deep_dive.md index aa87c20..63f263f 100644 --- a/jetstream/model_deep_dive/model_deep_dive.md +++ b/jetstream/model_deep_dive/model_deep_dive.md @@ -30,16 +30,16 @@ The `WorkQueuePolicy` mode is a specialized mode where a message, once consumed ### Message Deduplication -JetStream support idempotent message writes by ignoring duplicate messages as indicated by the `Msg-Id` header. +JetStream support idempotent message writes by ignoring duplicate messages as indicated by the `Nats-Msg-Id` header. ```nohighlight -% nats req -H Msg-Id:1 ORDERS.new hello1 -% nats req -H Msg-Id:1 ORDERS.new hello2 -% nats req -H Msg-Id:1 ORDERS.new hello3 -% nats req -H Msg-Id:1 ORDERS.new hello4 +% nats req -H Nats-Msg-Id:1 ORDERS.new hello1 +% nats req -H Nats-Msg-Id:1 ORDERS.new hello2 +% nats req -H Nats-Msg-Id:1 ORDERS.new hello3 +% nats req -H Nats-Msg-Id:1 ORDERS.new hello4 ``` -Here we set a `Msg-Id:1` header which tells JetStream to ensure we do not have duplicates of this message - we only consult the message ID not the body. +Here we set a `Nats-Msg-Id:1` header which tells JetStream to ensure we do not have duplicates of this message - we only consult the message ID not the body. ```nohighlight $ nats str info ORDERS