meilisearch / MeiliES

A Rust based event store using the Redis protocol
MIT License
324 stars 20 forks source link

Make the $all stream selector handle post-created streams #33

Open Kerollmops opened 5 years ago

Kerollmops commented 5 years ago

Currently the $all stream selector subscribe a client to all existing streams at the request moment but the client is not subscribed to the streams that are created after the request.

It is easily implementable by subscribing to the __sled_default tree and check all newly created streams, the problem is that the sled Subscribe API is blocking. It will be mush easily implementable when the Subscriber will use the Futures API.