Skip to content

Replace REST and RabbitMQ with gRPC#175

Draft
benthecarman wants to merge 1 commit intolightningdevkit:mainfrom
benthecarman:grpc
Draft

Replace REST and RabbitMQ with gRPC#175
benthecarman wants to merge 1 commit intolightningdevkit:mainfrom
benthecarman:grpc

Conversation

@benthecarman
Copy link
Collaborator

Alternative to #168, wanted to quickly see what this would look like

Consolidate the two separate communication protocols (protobuf over REST via Hyper, and RabbitMQ for events) into a single gRPC interface using tonic. This eliminates the RabbitMQ operational dependency and gives clients strongly-typed generated stubs.

Events are now delivered via a server-streaming RPC backed by a tokio broadcast channel. HMAC auth moves to a tonic interceptor using timestamp-only signing since TLS guarantees body integrity.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Mar 26, 2026

👋 Thanks for assigning @joostjager as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

Consolidate the two separate communication protocols (protobuf
over REST via Hyper, and RabbitMQ for events) into a single gRPC
interface using tonic. This eliminates the RabbitMQ operational
dependency and gives clients strongly-typed generated stubs.

Events are now delivered via a server-streaming RPC backed by a
tokio broadcast channel. HMAC auth moves to a tonic interceptor
using timestamp-only signing since TLS guarantees body integrity.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants