You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for flexible filtering of event streams using a JSON-based query syntax. This will allow clients to filter events based on field values and complex logical conditions.
Motivation
Currently, clients must consume and filter all events on their side. Adding server-side filtering will:
Reduce bandwidth usage by only sending relevant events
Simplify client implementations
Enable more efficient data access patterns
Support complex query scenarios without requiring client-side implementation
Proposed Solution
Add an optional filter field to the stream request messages that accepts a JSON object representing filter conditions. The filter syntax will support:
Field-level filtering on any filterable struct fields
Overview
Add support for flexible filtering of event streams using a JSON-based query syntax. This will allow clients to filter events based on field values and complex logical conditions.
Motivation
Currently, clients must consume and filter all events on their side. Adding server-side filtering will:
Proposed Solution
Add an optional
filter
field to the stream request messages that accepts a JSON object representing filter conditions. The filter syntax will support:Filter Syntax Specification
Grammar (EBNF)
Examples
Simple condition
AND condition
Complex nested condition
Protobuf changes
This feature adds a filter field to the existing protobuf spec:
The text was updated successfully, but these errors were encountered: