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

gRPC-Web Integration #11

Closed
sgammon opened this issue Jun 27, 2022 · 0 comments
Closed

gRPC-Web Integration #11

sgammon opened this issue Jun 27, 2022 · 0 comments
Assignees

Comments

@sgammon
Copy link
Member

sgammon commented Jun 27, 2022

Currently, grpc-web requires a middleman proxy to function against Java servers. That's because the browser doesn't yet talk pure gRPC, sure there is a slightly different protocol which must be mediated between the browser and backing gRPC server.

It would be really cool if we could run this layer within the JVM, where we wouldn't have to jump a network boundary or run a separate process.

Future considerations:

  • Not full parity with ESPv2. Later, we could consider adding API key checking and quota tracking, etc.
  • No authorization. JWT authorization is handled by Micronaut in general; integrating with that is ideal
  • Client-side code. To do this properly, we'd either need to code-gen bindings (which requires two layers of translation), or we need to get creative and integrate in a deeper way with the new asset system. Later work for sure.
@sgammon sgammon mentioned this issue Jun 27, 2022
30 tasks
@sgammon sgammon changed the title gRPC-Web integration gRPC-Web Integration Jun 27, 2022
@sgammon sgammon closed this as completed Jun 27, 2022
@sgammon sgammon added this to the Alpha 1: Initial Release milestone Jun 27, 2022
@sgammon sgammon self-assigned this Jun 27, 2022
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

No branches or pull requests

1 participant