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

Is it possible to run gRPC service inside a tomcat container ? #6933

Closed
sk1188 opened this issue Apr 16, 2020 · 3 comments
Closed

Is it possible to run gRPC service inside a tomcat container ? #6933

sk1188 opened this issue Apr 16, 2020 · 3 comments
Labels

Comments

@sk1188
Copy link

sk1188 commented Apr 16, 2020

I have a Spring Boot application running on a tomcat server with a few REST endpoints exposed.

As gRPC can be deployed as a standalone service , it manages it’s own connections and port. Wouldn’t it be problematic to go with this approach of running it on a tomcat server ?

@creamsoup
Copy link
Contributor

there was an effort to provide a layer on top of servlet api to use gRPC server.
you may find #1621 and the implementation #4738 useful.

cc @dapengzhang0 who drove the effort

@dapengzhang0
Copy link
Member

If you don't share the gRPC port with REST port, then there is no problem at all. There are also tools to manage gRPC with spring boot (e.g. https://github.com/yidongnan/grpc-spring-boot-starter) .

@ejona86
Copy link
Member

ejona86 commented Apr 29, 2020

Seems like the question is answered. If it isn't, comment and we can reopen.

@ejona86 ejona86 closed this as completed Apr 29, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants