You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We faced an issue related to how StreamConsumerExtension and implicit subscriptions work.
We noticed that invoking stream.GetAllSubscriptionHandles() within our Grain breaks behavior of its implicit subscription(s).
We drilled it down to the fact that GetAllSubscriptionHandles() calls BindExtensionLazy (
I guess it is important to mention that if the IStreamSubscriptionObserver.OnSubscribed was executed before the GetAllSubscriptionHandles() then it works fine, but if we do GetAllSubscriptionHandles() before OnSubscribed is hit, then we get into this issue
Hello,
We faced an issue related to how
StreamConsumerExtension
and implicit subscriptions work.We noticed that invoking
stream.GetAllSubscriptionHandles()
within our Grain breaks behavior of its implicit subscription(s).We drilled it down to the fact that
GetAllSubscriptionHandles()
callsBindExtensionLazy
(orleans/src/Orleans.Streaming/Internal/StreamConsumer.cs
Line 248 in acde8ff
StreamConsumerExtension
with empty observer (orleans/src/Orleans.Streaming/Internal/StreamConsumerExtension.cs
Lines 45 to 47 in acde8ff
As a result, messages cannot be delivered, because of this check:
orleans/src/Orleans.Streaming/Internal/StreamConsumerExtension.cs
Line 139 in acde8ff
Dropping on the floor
error.Could you please check why there is such a side-effect of
GetAllSubscriptionHandles()
?Kind regards,
Ilia
The text was updated successfully, but these errors were encountered: