cortoproject / corto

A hierarchical object store for connecting realtime machine data with web applications, historians & more
https://www.corto.io
MIT License
86 stars 14 forks source link

Add option to disable alignment of existing objects to subscribers #676

Closed SanderMertens closed 6 years ago

SanderMertens commented 6 years ago

Corto subscribers are created such that an application is able to exactly reconstruct the part of the store that matches the subscriber query with the information provided by the subscriber. This means that a subscriber will create events not just for objects created after the subscriber is created, but also for existing objects.

In scenarios where an application is just interested in events generated after the subscriber is created this behavior generates unnecessary load and can complicate application logic. Therefore, a mode where existing objects are not forwarded to the application is required.