Skip to content

Bridge grpc plugin v0.1#3

Open
TigerWhiteDev wants to merge 11 commits into
developfrom
bridge-grpc-plugin
Open

Bridge grpc plugin v0.1#3
TigerWhiteDev wants to merge 11 commits into
developfrom
bridge-grpc-plugin

Conversation

@TigerWhiteDev
Copy link
Copy Markdown
Collaborator

@TigerWhiteDev TigerWhiteDev commented Sep 21, 2025

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

plugin_version: "1.0.0".to_string(),
});

let mut client = self.client.clone();
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Collaborator Author

@TigerWhiteDev TigerWhiteDev Sep 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

le system a été rework pour passer par des stream grpc

Comment thread libs/grpc_bridge_lib/src/lib.rs Outdated
}

// Boucle principale de traitement des événements
while *is_running.read().await {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'ai pas compris quand est-ce que ça pouvait sortir de cette boucle mais j'ai du louper un truc

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pareille ca a evoluer avec le rework

@TigerWhiteDev TigerWhiteDev marked this pull request as ready for review September 28, 2025 14:32
@TigerWhiteDev TigerWhiteDev moved this to In progress in 🌌Network Game Oct 5, 2025
@TigerWhiteDev TigerWhiteDev moved this from In progress to Done in 🌌Network Game Oct 5, 2025
@TigerWhiteDev TigerWhiteDev moved this from Done to In progress in 🌌Network Game Oct 5, 2025
@TigerWhiteDev TigerWhiteDev changed the base branch from main to develop November 9, 2025 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

3 participants