Clear the data generated by PubSubRendezvousGrain
I use:
AddSimpleMessageStreamProvider
AddAdoNetGrainStorage
1、When I generate Guid different, PubSubRendezvousGrain generates a lot of data, is there a function to clear them?
I have the same question. How to remove the data from the table storage?
@jason-bragg By setting it as invisible, there will not be a large amount of data, if you need to use explicit cancellation to delete the database data
.AddMemoryGrainStorage("PubSubStore")
.AddSimpleMessageStreamProvider("SimpleStreamProvider", (SimpleMessageStreamProviderOptions opt) =>
{
opt.FireAndForgetDelivery = true;
opt.OptimizeForImmutableData = true;
opt.PubSubType = Streams.StreamPubSubType.ImplicitOnly;
});
Hi, If you want to clear up old subscription data which isn't needed anymore, you can call IStreamSubscriptionManager to remove those subscription
close due to inactivity. Feel free to reopen if needed