The polling client uses IStoreEvents.Advanced.GetFrom to retrieve events.
IStoreEvents.Advanced.GetFrom has overloads to specify a bucketId when using versions or DateTime to filter out results, but no such overload when using a checkpoint.
Currently I am using MongoDB Persistence, and in order to use a checkpoint, I have to read all events from all buckets, aside from the inherent inefficiency, this also forces me to have to register classmaps for all events in the store, instead of only those from the bucket I am interested in.
Is there any way at all to poll only one bucket while using MongoPersistence?
The polling client uses IStoreEvents.Advanced.GetFrom to retrieve events.
IStoreEvents.Advanced.GetFrom has overloads to specify a bucketId when using versions or DateTime to filter out results, but no such overload when using a checkpoint.
Currently I am using MongoDB Persistence, and in order to use a checkpoint, I have to read all events from all buckets, aside from the inherent inefficiency, this also forces me to have to register classmaps for all events in the store, instead of only those from the bucket I am interested in.
Is there any way at all to poll only one bucket while using MongoPersistence?