Skip to content

Commit

Permalink
Using nats req over pub
Browse files Browse the repository at this point in the history
Signed-off-by: Maurice van Veen <[email protected]>
  • Loading branch information
MauriceVanVeen committed Sep 12, 2024
1 parent 1f28cd8 commit 5e21c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/charts/nack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ data into `mystream`.
kubectl exec -it deploy/nats-box -- /bin/sh -l

# Publish a couple of messages
$ nats pub orders.received "order 1"
$ nats pub orders.received "order 2"
$ nats req orders.received "order 1"
$ nats req orders.received "order 2"
```

First, we'll read the data using a pull-based consumer. In `consumer_pull.yml`
Expand Down

0 comments on commit 5e21c71

Please sign in to comment.