File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
examples/src/main/java/io/dapr/examples/pubsub Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -679,15 +679,15 @@ Messages will be subscribed by the gRPC Subscriber and will print the output as
679
679
If you run a bulk publisher using following command
680
680
681
681
< ! -- STEP
682
- name: Run Bulk Publisher
683
- match_order: sequential
682
+ name: Run Publisher on bulk topic
684
683
expected_stdout_lines:
685
- - ' == APP == Published the set of messages in a single call to Dapr'
684
+ - ' == APP == Published message: This is message #0'
685
+ - ' == APP == Published message: This is message #1'
686
686
background: true
687
- sleep: 20
688
687
-->
688
+
689
689
` ` ` bash
690
- dapr run --components-path ./components/pubsub --app-id publisher -- java -jar target/dapr-java-sdk-examples-exec.jar io.dapr.examples.pubsub.Publisher testingtopicbulk
690
+ dapr run --components-path ./components/pubsub --app-id bulk- publisher -- java -jar target/dapr-java-sdk-examples-exec.jar io.dapr.examples.pubsub.BulkPublisher
691
691
` ` `
692
692
693
693
< ! -- END_STEP -->
@@ -824,11 +824,16 @@ For more details on Dapr Spring Boot integration, please refer to [Dapr Spring B
824
824
< ! -- STEP
825
825
name: Cleanup
826
826
-->
827
+ Use the following command to stop your running http subscriber or gRPC subscriber.
828
+ ` ` ` bash
829
+ dapr stop --app-id subscriber
830
+ ` ` `
831
+ < ! -- END_STEP -->
832
+ After completing publish , the application will automatically exit. However, you can still use the following command to stop your running publisher.
827
833
828
834
` ` ` bash
829
835
dapr stop --app-id publisher
830
836
dapr stop --app-id bulk-publisher
831
- dapr stop --app-id subscriber
832
837
` ` `
833
838
834
- < ! -- END_STEP -- >
839
+
You can’t perform that action at this time.
0 commit comments