Getting list of documents that are coming from publication/subscribtion


#1

From what I know, Meteor does not tell you which documents are coming from which publication/subscriptions.

Has anything changes on this front recently?

It would be awesome feature if the pub/sub system can give back a list of _id’s. It can be used to display loading screens, etc.


#2

Summoning Pub/Sub Master @diaconutheodor


#3

The thing is you can’t know, but because publication are blocking by nature, you can make this identification in a way by inspecting the DDP messages, but that only initially. Also, on the server, in the SessionCollectionView it is stored the publication name, so when you unsubscribe it knows what to clear out.


#4

@diaconutheodor thanks for clarfiying. Do you think it can it be done by monitoring the merge-box?


#5

Yes, it can be done, server-side only