Xiao Zeng
Xiao Zeng
`GetSubscription `currently just wrap on top of `streamPubSub.GetAllSubscriptions(streamId)`, it returns all subscriptions for one stream. You can see the code as follows, ``` public Task GetSubscriptions(string streamProviderName, IStreamIdentity streamIdentity) {...
What's your use case for getting consumer count, instead of subscription count? just curious.
Ah I see. it is always interesting to know how people use streams for. I think your way works well. Glad I can help. Take care.
Can you help me understand why it is not allowed? As far as I know, you can access IServiceProvider in GrainService, and then you can get IStreamProviderManager from ISP, which...
@jdom @sergeybykov I know you guys want to know
suggest ``` public interface IStreamSubscriptionManager { Task AddSubscription(IStreamIdentity streamId, GrainReference grainRef); Task RemoveSubscription(Guid subscriptionId); => Task RemoveSubscription(StreamSubscription subscription); Task GetSubscriptions(IStreamIdentity StreamId); } ``` because of current IStreamPubSub design and `RemoveSubscription`...
Over the last week, we made some API changes and also add new feature to Programmatic Subscribing, for reasons we think would make programmatic subscribing great again! Summary below: API...
this feature has been added to the master branch. close this issue
Reopen this issue for reasons: 1. there's update on the public API 2. there's no documentation about Programmatic Subscribe , this issue is the closest text to a documentation. So...
Updated API: Compared to last post, the changes here is we added param `string streamProviderName` to `IStreamSubscriptionManager` 's methods. Main reason behind it is to decouple subscription setup with StreamProvider...