Bridge grpc plugin v0.1#3
Open
TigerWhiteDev wants to merge 11 commits into
Open
Conversation
Nunwan
reviewed
Sep 22, 2025
| plugin_version: "1.0.0".to_string(), | ||
| }); | ||
|
|
||
| let mut client = self.client.clone(); |
There was a problem hiding this comment.
Le client cloné il garde les mêmes infos/durée de vie que celui tenu dans self? J'ai pas trouvé dans la macro si derrière c'était du Arc ou du Rc ou si ça copiait toutes les infos et donc tu perdais le client cloné à la fin du scope?
Collaborator
Author
There was a problem hiding this comment.
le system a été rework pour passer par des stream grpc
| } | ||
|
|
||
| // Boucle principale de traitement des événements | ||
| while *is_running.read().await { |
There was a problem hiding this comment.
J'ai pas compris quand est-ce que ça pouvait sortir de cette boucle mais j'ai du louper un truc
Collaborator
Author
There was a problem hiding this comment.
pareille ca a evoluer avec le rework
26e719b to
d55ba3a
Compare
d55ba3a to
c7c75a7
Compare
c7c75a7 to
485564a
Compare
2e9af40 to
20ae544
Compare
20ae544 to
09df72d
Compare
…nect horizon to grpc server
09df72d to
8814639
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add gRPC Bridge Library
This MR introduces a bidirectional gRPC bridge library.
Allows Horizon plugins to connect to a gRPC server.
Forwards client, core, and plugin events to the server.
Transforms gRPC responses into new Horizon events.
Supports health checks and configurable worker threads.
Provides a simple builder-based configuration.
Enables seamless integration of external services with Horizon.
#2