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
In Orleankka 7.0.0 the legacy Orleankka.Legacy.Runtime.Streams (implicit stream subscription) code was removed and there is no alternative to this package
We heavily relied StreamSubscriptionAttribute because it offered regex implicit stream subscriptions, filtering and actor id selection. None of which is currently supported by orleans
What is the correct upgrade path here?
Do you have any ideas how we could achieve what was previously supported by the stream legacy code?
Would it be possible to bring back to life the legacy code if there is no alternative?
The text was updated successfully, but these errors were encountered:
This is tough issue. Orleans 7.x broke a lot of internal functionality I was relying on for stream subscriptions. I can extend StreamPath to have namespace and then use it with StreamRef.
If you can make a PR with just tests that showcase broken/missing behavior using Orleans native stream subscriptions I can try fix the implementation for you.
In Orleankka 7.0.0 the legacy
Orleankka.Legacy.Runtime.Streams
(implicit stream subscription) code was removed and there is no alternative to this packageWe heavily relied
StreamSubscriptionAttribute
because it offered regex implicit stream subscriptions, filtering and actor id selection. None of which is currently supported by orleansIn the upgrade attempt we wanted to use the
ImplicitStreamSubscriptionAttribute
/RegexImplicitStreamSubscriptionAttribute
as the upgrade path but this doesn't work with the currentStreamRef
implementation.The current
StreamRef
implementation always usesnull
as thestreamNamespace
and theStreamPath.Id
as theStreamId
.Orleans implicit stream subscription implementation only supports not
null
namespaces:https://github.com/dotnet/orleans/blob/e498ee763fd09198a0af9c95899a4f1ef019e55e/src/Orleans.Streaming/PubSub/ImplicitStreamSubscriberTable.cs#L201C1-L204C10
and has no code that supports filtering by
StreamId
, currently only filtering bystreamNamespace
is implemented:https://github.com/dotnet/orleans/blob/e498ee763fd09198a0af9c95899a4f1ef019e55e/src/Orleans.Streaming/Predicates/StreamSubscriptionAttributes.cs#L14C1-L19C60
What is the correct upgrade path here?
Do you have any ideas how we could achieve what was previously supported by the stream legacy code?
Would it be possible to bring back to life the legacy code if there is no alternative?
The text was updated successfully, but these errors were encountered: