Skip to content

tfjanjua/dapr-pubsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dapr-pubsub

In this repo, you can find the implementation of pub-sub by using dapr. Please follow the intructions

  1. Assuming that you already have Dapr at your local system https://docs.dapr.io/getting-started/

  2. After clone, first run the subscriber

  • cd sub
  • dapr run -a sub -p 50000 -d ..\components\ -- dotnet run --urls http://*:50000
  1. Then run the publisher
  • cd pub
  • dapr run -a pub -H 3500 -d ..\components\ -- dotnet run

You will see that the publisher will send messages in a loop and subscriber will receive the message one by one and logging them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages