Skip to content

Commit

Permalink
Merge pull request #408 from lovoo/fix-example3-readme-order-of-command
Browse files Browse the repository at this point in the history
Modify the command order in example 3
  • Loading branch information
tinahhhhh authored Dec 9, 2022
2 parents c051205 + 7e829fc commit 7fffd82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/3-messaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,14 @@ This solution allows us to start, stop, and scale them independently.
Before starting any Go program, run `make start` in `examples` to start Docker containers for ZooKeeper and Kafka.
Next, to start the service, change directory to `examples/3-messaging` and type:

Start the collector processor:
```sh
go run cmd/service/main.go # start endpoint handlers, emitter and view
go run cmd/processor/main.go -collector
```

In another terminal, start the processor:

In another terminal, start the endpoint handlers, emitter and view:
```sh
go run cmd/processor/main.go -collector # start collector processor
go run cmd/service/main.go
```

After you started both Go programs, you can use `curl` to see the messages sent to Alice:
Expand Down

0 comments on commit 7fffd82

Please sign in to comment.