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