Hi,
I was having a look at the “new” persistent subscription to $all stream and wanted to test it. As I understood, it’s possible to create it only through the gRPC client, not from the ADMIN.
The following article
https://developers.eventstore.com/clients/grpc/persistent-subscriptions.html#creating-a-subscription-group
does not seem to have any details on the $all stream. Is there any available sample that docs are not mentioning?
Also, is there any recommended strategy on how to avoid creating the same subscription group twice? Or it should handle the exception and carry on if already existing?
Finally, the documentation mentions
you should assume that the subscription already exists.
Where should the $all subscription be created then if not in the application code?
I suspect this documentation hasn’t been updated to include the new $all persistent subscription. Looking forward to getting some advice on recommended practices. My intention is to initialize persistent subscription on startup with an IHostedService
but ensure, first, that the subscription group exists.
Thanks!