From @FenTiger (from #2)
Deleting a subscription using DELETE {subscriptions_url}?topic={topic} happens asynchronously - outside the event stream - and so the client has no way to know when it is complete, i.e. that the pipeline has drained and it is guaranteed to receive no more events from the subscription.
Would it make sense for deletion to send an "ack" message of some sort back as part of the event stream? This would allow a client to send the delete request and then wait for the "ack" before tearing down its internal data structures relating to the subscription.
The events in the stream are supposed to be ActivityPub/AS2 entities. For this subscription deletion status messages, do you have an idea for the representation? One option is that we consider the subscriptions to be a virtual Collection and use Delete as the status message. The status URIs would possibly be URNs since they are internal. We could either automatically subscribe to the status topic (no deletion available for this built-in system topic) or allow clients to opt-in to the control signals with an explicit subscribe. Thoughts?
From @FenTiger (from #2)
> Deleting a subscription using DELETE {subscriptions_url}?topic={topic} happens asynchronously - outside the event stream - and so the client has no way to know when it is complete, i.e. that the pipeline has drained and it is guaranteed to receive no more events from the subscription.
>
> Would it make sense for deletion to send an "ack" message of some sort back as part of the event stream? This would allow a client to send the delete request and then wait for the "ack" before tearing down its internal data structures relating to the subscription.
The events in the stream are supposed to be ActivityPub/AS2 entities. For this subscription deletion status messages, do you have an idea for the representation? One option is that we consider the subscriptions to be a virtual `Collection` and use `Delete` as the status message. The status URIs would possibly be URNs since they are internal. We could either automatically subscribe to the status topic (no deletion available for this built-in system topic) or allow clients to opt-in to the control signals with an explicit subscribe. Thoughts?