forked from YoEight/eventstore-rs
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
eventstore version: 4.0.0
rustc version: 1.91.0
kurrentdb version: 24.10.4-bookworm-slim (container)
If I set up a client with a subscription against the all stream like so, I am getting events from non-product streams (eg "person-xyz"). Are subscription filters meant to work with regular subscriptions or only persistent ones?
let filter = SubscriptionFilter::on_stream_name().add_prefix("product-").exclude_system_events();
let opts = SubscribeToAllOptions::default()
.retry_options(retry_opts)
.position(position)
.filter(filter);
self.event_store
.subscribe_to_all(&opts)
.in_current_span()
.awaitMetadata
Metadata
Assignees
Labels
No labels