hashicorp / hashicorp/go-plugin
Can the plug-in not expose the port, the main service exposed one is OK?
Open
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 511
- Avg merge
- 22h 47m
- Merged PRs (30d)
- 4
Description
Plugins implemented using go-plugin require an RPC port each time, which is sometimes not allowed on the client's business server.
And I have a requirement: the plug-in collects metrics on the server, reports them to the master, and hopefully the master manages the plug-in.
I had a whimper about whether I could open a port on the master service and then accept all plug-ins, passing the port exposed by the master service to the plug-in when the master service starts the plug-in.
I'm not sure if this is feasible or if it's different from what the go-plugin project was created for.
Contributor guide
Assessment
This issue has not been assessed yet.