Skip to content

Polling only one bucket #405

@hnafar

Description

@hnafar

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions