Add change feed API for streaming graph mutations to consumers
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- go
- Lĩnh vực
- api, backend, distributed-systems
Hướng nghiên cứu
Start with docs/docs/roadmap.md and trace how Meteor’s incremental delivery represents graph deltas before choosing an API transport. Define the event types, filtering, replay, ordering, back-pressure, and update-state guarantees, then verify that the design covers all listed consumer and reconnection requirements.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
Compass is currently a pull-only store — you query it to get data. AI agents and downstream systems that need to stay current should be able to subscribe to graph changes rather than polling.
Scope
- Streaming API endpoint that emits graph mutations as they happen
- Event types:
entity.created,entity.updated,entity.deleted,relationship.created,relationship.deleted - Support filtering by entity type, namespace, or relationship type
- Include before/after state for updates (or at minimum, changed fields)
- Transport options: SSE (Server-Sent Events), WebSocket, or gRPC streaming
Design Considerations
- Back-pressure handling for slow consumers
- Cursor-based replay for consumers that disconnect and reconnect
- Event ordering guarantees within a namespace
- Integration with Meteor's incremental delivery — Meteor pushes deltas, Compass propagates them
Why
AI agents maintaining cached context can subscribe and keep their view fresh without polling. Downstream systems (monitoring, alerting, compliance) can react to graph changes in real time.
References
- Ngôn ngữ chính
- Go
- Star
- 72
- Fork
- 9
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của raystack/compass
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Tất cả issue của raystack/compass
Issue tương tự
-
bug github_actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
registrystack/registry-stack#1393 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
JakeChampion/lang#10213 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
oasisprotocol/oasis-sdk#2523 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100