Comments (9)
Does this answer yor question ? If not, please provide the sample with expected behaviour ...
from grpc-spring-boot-starter.
Tx, that is very helpful but I still need to maintain a proto spec in paralell and sync with my SpringMvc MVC rescontroller code first contract
from grpc-spring-boot-starter.
Are you looking for a feature that generates proto
service from your existing mvc controller ?
from grpc-spring-boot-starter.
You can maintain only the proto spec and use the grpc-gateway
to support http
clients
from grpc-spring-boot-starter.
hah,i want to know,how to use it ??i can"t understand your says...a ha
from grpc-spring-boot-starter.
@jvmlet Are you looking for a feature that generates proto service from your existing mvc controller ?
I knew that generating proto specs from MVC anotations is not supported so far / by grpc gateway. It was an idea for a missing link for a smooth integration or optional endpoint based on a a binaty protocol. Another approach would be to to setup grpc endpoints dynamically based on known SpringMvc annotation's without intermediate proto spec..
from grpc-spring-boot-starter.
I'm confused ;-) , YOU opened the issue to support grpc for existing mvc endoints...
from grpc-spring-boot-starter.
yes, i did start discussion for a possible feature in this project. For projects heading towards hardware utilization and performance improvements in (high load) microservice architectures (there are reason beyond that too of course) around overhead for json (de)marhsalling and thefore it is balid approach to offer an lower burden to migrate towards an grpc based communication for existing sprint boot (mvc) applications, isn't it?
from grpc-spring-boot-starter.
OK, I got your idea... So you want some kind of @RestController bean post-processor
to dynamically create and register service definitions, including the payload message format( proto-buf
) generation. Sorry, but this out of scope of this project.
from grpc-spring-boot-starter.
Related Issues (20)
- Upgrade to grpc 1.57.0
- 5.1.0 changes status exception behaviour HOT 6
- Spring Boot 3 and gRPC HOT 1
- 5.0.0 to 5.1.4 changes status exception behaviour HOT 13
- Upgrade grpc to 1.58
- spring cloud config problem HOT 3
- Does it support mTLS while registering services to Consul ? HOT 1
- Buggy interceptors @Order annotation processing HOT 5
- Spring Security Keycloak integration HOT 5
- Order annotation for @GRpcGlobalInterceptor not working correctly when using 'org.springframework.boot.autoconfigure.AutoConfiguration.imports'
- `SecurityInterceptor` extends a deprecated interface (6.1.4) HOT 3
- actuator/health/grpc endpoint continue reporting grpc services as SERVING even if grpc server has been stopped HOT 1
- Stream closed before write could take place HOT 1
- Using custom implementation for auth token ,How to leverage security context holder to get authentication if token is not changed for subsequent request HOT 1
- Updating spring-boot to 3.2.0 breaks with "An AuthenticationManager is required" HOT 9
- Request level bean creation
- grpc default executor not overriding in server builder
- Security API enhancements #2
- Update grpc dependencies from 1.58.0 to 1.62.* or later
- Update gRPC to 1.63 due to client retry fixed in this version of gRPC HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpc-spring-boot-starter.