Update tutorials/pub-sub/README.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: shivanisinghnitp <58537821+shivanisinghnitp@users.noreply.github.com>
This commit is contained in:
shivanisinghnitp 2023-05-22 10:29:18 +05:30
parent 3e999c54e3
commit 505e99a698
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ XLEN orders
<!-- END_STEP -->
3. To show the details of each order in the redis stream events, we use the `XRANGE` command. We specify two IDs, start and end. The range returned will include the elements having start or end as ID. The two special IDs - and + respectively mean the smallest and the greatest ID possible. We add an optional `COUNT` option at the end to get the first N items only. Below command shows the first 2 events.
3. To show the details of each order in the Redis stream events, use the `XRANGE` command. Specify two IDs, start and end. The range returned includes the elements having `start` or `end` as ID. The two special IDs - and + respectively mean the smallest and the greatest ID possible. Add an optional `COUNT` option at the end to get the first N items only. For example, the command shows the first 2 events.
<!-- STEP
expected_stdout_lines: