surveily / orleans.streaming.grains Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Does this package allow for Fan-Out i.e: multiple consumers can read the same stream message?
Thanks
There is one test scenario which is hanging until Timeout
due to MessagesDeliveredAsync
not being triggered.
The scenario works as follows: I have implemented FireAndForgetDelivery
and I am trying to test it. The GrainsQueueAdapter.QueueMessageBatchAsync()
won't return until the MessagesDeliveredAsync
triggers and marks the message as completed.
// F&F=false
When_Sending_Compound_Message_One_To_Many
-> EmitterGrain.SendAsync(text, data)
-> CompoundReceiverGrain.OnNext()
-> BlobReceiverGrain.OnNext()
-> SimpleRecevierGrain.OnNext()
The messages are passed all the way to the BlobReceiverGrain.OnNext()
but unfortunately it hangs after finishing that method execution. SimpleRecevierGrain.OnNext()
is never triggered in the CompoundReceiverGrain.OnNext()
due to awaiting the completion of the BlobReceiverGrain.OnNext()
, which executes successfuly.
All other tests (F&F on and off) work fine. This one doesn't and I guess its due to two consecutive OnNext
invocations in the CompoundReceiverGrain.OnNext()
.
Please help me trace this issue by either reviewing the code of the PostAsync or by debugging the test case in the .devcontainer
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.