service-fabric-pub-sub | Event Driven Architecture while using Azure | Microservice library
kandi X-RAY | service-fabric-pub-sub Summary
kandi X-RAY | service-fabric-pub-sub Summary
Do you want to create an Event Driven Architecture while using Azure Service Fabric? Do you need to reliably broadcast messages between Actors and Services? This code will help you do that. It supports both Actors and Services as publishers and subscribers.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of service-fabric-pub-sub
service-fabric-pub-sub Key Features
service-fabric-pub-sub Examples and Code Snippets
Community Discussions
Trending Discussions on service-fabric-pub-sub
QUESTION
I am trying to push an event from something happening in one of my services, hosted on a Service Fabric Cluster, to a C# client application.
Whilst communicating events within my cluster seems possible, (I am looking at using this https://service-fabric-pub-sub.socreate.it/), I cannot find a way to relay events from my Service's API Gateway back to the client application (after they have subscribed).
I have tried to look into setting up web sockets, and looked at Signal R, but I am not sure that these are the correct tools for what I am trying to achieve. Any suggestions of where to start looking would be a great help!
Thanks in advance!
...ANSWER
Answered 2020-Sep-23 at 10:02The Pub Sub library you're looking at, is for messaging inside the cluster, without introducing external dependencies.
If you want to send messages to applications outside of the cluster, you should use a message queue, like Azure Service Bus Queues.
For receiving messages from the C# client within the cluster, you can use this library or source code, that implements a ICommunicationListener
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install service-fabric-pub-sub
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page