Skip to content

Commit 7c1680a

Browse files
committed
modify README
Signed-off-by: MregXN <[email protected]>
1 parent cdd4371 commit 7c1680a

File tree

1 file changed

+3
-2
lines changed
  • examples/src/main/java/io/dapr/examples/pubsub

1 file changed

+3
-2
lines changed

examples/src/main/java/io/dapr/examples/pubsub/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ sleep: 5
139139
```bash
140140
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
141141
```
142+
143+
<!-- END_STEP -->
144+
142145
**gRPC Version**
143146

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

196199

197-
<!-- END_STEP -->
198-
199200
### Running the publisher
200201

201202
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.

0 commit comments

Comments
 (0)