Skip to content

Commit

Permalink
modify README
Browse files Browse the repository at this point in the history
  • Loading branch information
MregXN committed May 6, 2023
1 parent bde765c commit 3dc090c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/src/main/java/io/dapr/examples/pubsub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ sleep: 5
```bash
dapr run --components-path ./components/pubsub --app-id subscriber --app-port 3000 --app-protocol http -- java -jar target/dapr-java-sdk-examples-exec.jar io.dapr.examples.pubsub.http.Subscriber -p 3000
```

<!-- END_STEP -->

**gRPC Version**

The Spring GrpcService implements the methods required for gRPC communication with Dapr\`s sidecar.
Expand Down Expand Up @@ -194,8 +197,6 @@ dapr run --components-path ./components/pubsub --app-id subscriber --app-port 30
```


<!-- END_STEP -->

### Running the publisher

Another component is the publisher. It is a simple java application with a main method that uses the Dapr gRPC Client to publish 10 messages to a specific topic.
Expand Down

0 comments on commit 3dc090c

Please sign in to comment.