ORDERS.*
in the Stream even though there are many types of order related messages. We'll show how you can selectively consume subsets of messages later. Relatively speaking the Stream is the most resource consuming component so being able to combine related data in this manner is important to consider.ORDERS.*
but we could also consume SHIPPING.state
into the same Stream should that make sense (not shown here).Nats-Msg-Id
header and a sliding window within which to track duplicate messages. See the Message Deduplication section..
), greater than (>
) or asterisk (*
). See naming.File
and Memory
-1
for unlimitedLimitsPolicy
(default), InterestPolicy
or WorkQueuePolicy
DiscardNew
refuses new messages while DiscardOld
(default) deletes old messages