feat: split stream_id into stream_type + stream_id columns #191
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Streams are identified by a single stream_id string like "pass-template-123". The stream type is baked into a naming convention that cannot be queried efficiently, requires string concatenation (allocation), and is ambiguous.
Solution
Split into two first-class columns: stream_type + stream_id.
API changes
Decider gets StreamType field (required, panic if empty):
Event struct gets StreamType:
EventStore interface uses two args:
New capability - type-filtered global reads:
Performance
Schema
Scope