@@ -516,7 +516,7 @@ expected_stdout_lines:
516
516
- '== APP == Bulk Subscriber got: This is message #1'
517
517
- '== APP == Bulk Subscriber got: This is message #2'
518
518
background: true
519
- sleep: 5
519
+ sleep: 15
520
520
-->
521
521
522
522
``` bash
@@ -627,12 +627,10 @@ match_order: none
627
627
expected_stdout_lines:
628
628
- '== APP == Subscriber got: This is message #1'
629
629
- '== APP == Subscriber got: This is message #2'
630
- - '== APP == Subscriber got from bulk published topic: This is message #2'
631
- - '== APP == Subscriber got from bulk published topic: This is message #3'
632
- - '== APP == Bulk Subscriber got: This is message #1'
633
- - '== APP == Bulk Subscriber got: This is message #2'
630
+ - '== APP == Bulk Subscriber got: "This is message #1"'
631
+ - '== APP == Bulk Subscriber got: "This is message #2"'
634
632
background: true
635
- sleep: 5
633
+ sleep: 15
636
634
-->
637
635
``` bash
638
636
// stop http subscriber if you have started one.
@@ -679,13 +677,13 @@ Messages will be subscribed by the gRPC Subscriber and will print the output as
679
677
If you run a bulk publisher using following command
680
678
681
679
< ! -- STEP
682
- name: Run Bulk Publisher
683
- match_order: sequential
680
+ name: Run Publisher on bulk topic
684
681
expected_stdout_lines:
685
- - ' == APP == Published the set of messages in a single call to Dapr'
682
+ - ' == APP == Published message: This is message #0'
683
+ - ' == APP == Published message: This is message #1'
686
684
background: true
687
- sleep: 20
688
685
-->
686
+
689
687
` ` ` bash
690
688
dapr run --components-path ./components/pubsub --app-id publisher -- java -jar target/dapr-java-sdk-examples-exec.jar io.dapr.examples.pubsub.Publisher testingtopicbulk
691
689
` ` `
@@ -824,11 +822,16 @@ For more details on Dapr Spring Boot integration, please refer to [Dapr Spring B
824
822
< ! -- STEP
825
823
name: Cleanup
826
824
-->
825
+ Use the following command to stop your running http subscriber or gRPC subscriber.
826
+ ` ` ` bash
827
+ dapr stop --app-id subscriber
828
+ ` ` `
829
+ < ! -- END_STEP -->
830
+ After completing publish , the application will automatically exit. However, you can still use the following command to stop your running publisher.
827
831
828
832
` ` ` bash
829
833
dapr stop --app-id publisher
830
834
dapr stop --app-id bulk-publisher
831
- dapr stop --app-id subscriber
832
835
` ` `
833
836
834
- < ! -- END_STEP -- >
837
+
0 commit comments