From 26c44816db4408b3310639d50dd8237b9da06e2a Mon Sep 17 00:00:00 2001 From: Muhammad Zakaria Date: Thu, 17 Oct 2024 09:18:47 +0300 Subject: [PATCH] Add stream get command for workqueue --- nats-concepts/jetstream/js_walkthrough.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nats-concepts/jetstream/js_walkthrough.md b/nats-concepts/jetstream/js_walkthrough.md index a159d267..07df8987 100644 --- a/nats-concepts/jetstream/js_walkthrough.md +++ b/nats-concepts/jetstream/js_walkthrough.md @@ -177,7 +177,7 @@ Let's now start a publisher nats pub foo --count=1000 --sleep 1s "publication #{{Count}} @ {{TimeStamp}}" ``` -As messages are being published on the subject "foo" they are also captured and stored in the stream, you can check that by using `nats stream info my_stream` and even look at the messages themselves using `nats stream view my_stream` +As messages are being published on the subject "foo" they are also captured and stored in the stream, you can check that by using `nats stream info my_stream` and even look at the messages themselves using `nats stream view my_stream` or `nats stream get my_stream` ## 3. Creating a consumer @@ -223,7 +223,7 @@ State: Waiting Pulls: 0 of maximum 512 ``` -You can check on the status of any consumer at any time using `nats consumer info` or view the messages in the stream using `nats stream view my_stream` or even remove individual messages from the stream using `nats stream rmm` +You can check on the status of any consumer at any time using `nats consumer info` or view the messages in the stream using `nats stream view my_stream` or `nats stream get my_stream`, or even remove individual messages from the stream using `nats stream rmm` ## 3. Subscribing from the consumer