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

go-plugin quick and dirty spike #36

Closed
wants to merge 1 commit into from
Closed

go-plugin quick and dirty spike #36

wants to merge 1 commit into from

Conversation

lukaso
Copy link
Contributor

@lukaso lukaso commented Dec 19, 2023

Notes / Findings

  • Logging has to be directed to Stderr as the server will otherwise fail. See client Error:Unrecognized remote plugin message... hashicorp/go-plugin#199
  • The server must handle graceful shutdowns, or hops stays running.
  • go-plugin has a capability to reconnect to a process, but this was not investigated.
  • Uses the net/rpc version, not the gRPC version.
  • Shared interface should live in hops, but obviously changes to this interface would have to be dealt with as and when.
  • Only useful for local communications.

@lukaso
Copy link
Contributor Author

lukaso commented Dec 19, 2023

Hashicorp Plugin spike

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.

None yet

2 participants