Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller to Agent request and response protocol via Etcd #2612

Closed
hdkshingala opened this issue Sep 12, 2023 · 2 comments
Closed

Controller to Agent request and response protocol via Etcd #2612

hdkshingala opened this issue Sep 12, 2023 · 2 comments

Comments

@hdkshingala
Copy link
Contributor

We have to develop some kind of request and response protocol - each agent can watch a path under /rpc/agents/requets/{agent_id} and controller can write a {request_id} under that path. The entire path can be lease ttl on agent lifecycle

Agent can publish the result for request if under /rpc/agents/responses/{request_id} path

Someone did this in rust - https://lib.rs/crates/etcdmq

@sahil-lakhwani
Copy link
Contributor

I've started on this - Got the basic requirement from Hardik, got on a call with Hasit to understand the code flow.

I'm also trying to understand how to plug etcd as a transport on the current rpc protocol as mentioned by Michal.

I also had a tour of the uber/fx library myself to better understand the code structure.

@tanveergill
Copy link
Contributor

This is implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants