Add gRPC support for publishing events
Maintainer thường phản hồi trong vòng 4 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Start from the HTTP handler behind POST /api/v1/publish and trace its validation, topic and destination matching, and delivery path, since the gRPC endpoint must reuse that flow. The existing gRPC uses for GCP Pub/Sub and OpenTelemetry are outbound, so they are not a model for a publish endpoint. Done means a gRPC call publishes an event through the same path as HTTP, with tests showing matching behavior; the proto contract shape is not specified and needs a decision first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
Outpost currently accepts events through the HTTP POST /api/v1/publish endpoint. A native gRPC endpoint would let services in gRPC-based systems publish using a typed Protocol Buffers contract and generated clients, instead of implementing and maintaining REST/JSON request handling for this integration.
Describe the solution you'd like
Provide a gRPC API for publishing events, with functionality equivalent to POST /api/v1/publish. Events sent over gRPC should go through the same validation, topic and destination matching, and delivery flow as events published over HTTP.
Describe alternatives you've considered
Continue using the HTTP publish endpoint and hand-write or generate an HTTP client, or build an adapter that exposes gRPC to internal services and forwards requests to Outpost's HTTP API. These approaches work, but don't provide a native gRPC contract at the Outpost API boundary.
Additional context
This request is for gRPC support for the event-publishing API. It is separate from the existing gRPC use in integrations such as GCP Pub/Sub and OpenTelemetry, which do not provide a gRPC endpoint for clients to publish events to Outpost.
- Ngôn ngữ chính
- Go
- Star
- 1.1k
- Fork
- 70
- Merge trung bình
- 3 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 34
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 hookdeck/outpost
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Vulnerable `x/net` and `MongoDB` Go dependenciesCó thể đã có người làm @chiliec đã nhận 1 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 4 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
hookdeck/outpost#1194 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của hookdeck/outpost
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
router-for-me/CLIProxyAPI#7330 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug os:ios
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hajimehoshi/ebiten#4039 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 9 ngày