-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pub/sub running question #689
Comments
I think this is (also) covered in #688. My TL;DR: Dapr is not designed to have the sidecar running on a different machine than the application it serves. |
|
It is possible to run Dapr sidecar in a different host than the application. On the other hand, it is not possible to configure the sidecar to callback into another endpoint that is not localhost. You would need to setup some sort of reverse proxy next to the sidecar to redirect localhost: to the <app's ip>: - you can try with SSH tunnel to being with. |
You can run dapr without docker. The default workflow is not made for this as docker makes things a lot easier. You'd have to deploy components manually on a server in your network. Then you'll have to configure the components in the dapr config. Finally, you can run Just to be extra clear: You run the dapr sidecar on the same machine as your service. The messagebroker you can run anywhere you like. You just need to configure the address of it in your pubsub component yaml. |
@artursouza can we close this, it was a question, I think that was answered. |
can we run my subscribe application in local machine and at the same time sidecar is running on remote machine
publish application is working when use the following code,
System.setProperty("dapr.sidecar.ip","*****");
System.setProperty("dapr.http.port","3500");
System.setProperty("dapr.grpc.port","5001");
but i do not know how to run my subscribe application
The text was updated successfully, but these errors were encountered: