fiskaltrust/middleware-launcher

Hosting: gRPC

Closed this issue · 2 comments

User story

As a user of the Middleware Launcher, I want to be able to communicate with the Middleware via gRPC, to embed the Middleware into my existing software ecosystem and use technologies I'm familiar with.

Context

The Middleware Launcher is responsible for hosting the Middleware and should support different communication protocols. Native gRPC support should be added to simplify integration in modern applications.

The implemented solution should ideally be compatible to our existing gRPC client, but shouldn't rely on native gRPC libarries like we currently do. If it's not compatible, a migration path should be outlined and the client has to be updated for 2.0.

Our primary focus should be TCP-based communication, but we could also evaluate other options to also support edge cases where access to the TCP stack is limited (e.g. when no ports can be opened): https://docs.microsoft.com/en-us/aspnet/core/grpc/interprocess?view=aspnetcore-5.0

Also think about:

  • Exception and error code handling
  • Request logging