EventStore / documentation

Next-gen documentation website
https://developers.eventstore.com/
10 stars 16 forks source link

Getting System.NullReferenceException when Persistent Subscription gets a deleted event #555

Closed lakshdeepsingheventstore closed 7 months ago

lakshdeepsingheventstore commented 1 year ago

When a Persistent Subscription is created on a stream, events are buffered. Now, if the deleted event has already been buffered, that is the event was sent to the Persistent subscription before that event was deleted, you will get that event processed by the client and will get the exact same event body. If in case the deleted event was not buffered, in that case you will get a null object for such non buffered, deleted events. This could be mentioned in the documentation.

Internal Ticket : https://eventstore.freshdesk.com/a/tickets/110452

alexeyzimarev commented 7 months ago

Not a documentation issue