Skip to content

devk-insurance/spring-dapr-grpc-publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

spring-dapr-grpc-publisher

The publisher opens a redis topic "SAVE" and sends all the data from a grpc client to this topic. Further it listens to the "FINISHED" topic, which is populated by the subscriber. All service communication is implemented with grpc.

howto make it work

  • install and initialize Dapr
  • make sure the Subscriber is running
  • mvn clean package
  • dapr run --protocol grpc --app-id publisher --app-port 12301 -- java -jar target/dapr-publish.jar
  • grpcurl -plaintext -d '{"key": "foo", "value": "bar"}' 127.0.0.1:12301 dapr.DaprProxyService.SaveKV

About

Dapr Grpc Demo in Spring Boot (publisher service)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages