Skip to content
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

Dapr pub sub with C ++ based application #1300

Open
tommorvolloriddle opened this issue Jun 11, 2024 · 1 comment
Open

Dapr pub sub with C ++ based application #1300

tommorvolloriddle opened this issue Jun 11, 2024 · 1 comment
Labels
area/client/pubsub question Further information is requested

Comments

@tommorvolloriddle
Copy link

tommorvolloriddle commented Jun 11, 2024

I am using dapr for pub-sub, I have a problem at receiving (subscribing) end, I have is a c++ monolith application and needs dapr for pub-sub, Is it possible to write a class library in C# and write subscribing call backs (dapr's http verb based subscription) with this will I be still able to subscribe to messages, Just for your information: I am using RabbitMQ for messaging

@tommorvolloriddle tommorvolloriddle changed the title Dapr pub sub with c ++ based application Dapr pub sub with C ++ based application Jun 11, 2024
@philliphoff philliphoff added question Further information is requested area/client/pubsub labels Jun 18, 2024
@philliphoff
Copy link
Collaborator

@tommorvolloriddle I'm not entirely sure I follow what you suggest, but there are probably several options:

  • If your C++ application hosts an HTTP server, then it can directly subscribe to pub-sub events from Dapr by just exposing a /dapr/subscribe endpoint and then the corresponding subscription endpoints
  • If your C++ application can make calls to or host calls from another application that supports Dapr (e.g. .NET, Node.js, Java, Python, Go, etc.), that application can subscribe to events and pass them back to the C++ application
  • There has been a start to a Dapr C++ SDK that your application might use directly, but note that it is currently at an "alpha" level of quality, so your mileage may very

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client/pubsub question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants