Giter Site home page Giter Site logo

Comments (9)

jvmlet avatar jvmlet commented on May 29, 2024

Does this answer yor question ? If not, please provide the sample with expected behaviour ...

from grpc-spring-boot-starter.

cforce avatar cforce commented on May 29, 2024

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.

jvmlet avatar jvmlet commented on May 29, 2024

Are you looking for a feature that generates proto service from your existing mvc controller ?

from grpc-spring-boot-starter.

jvmlet avatar jvmlet commented on May 29, 2024

You can maintain only the proto spec and use the grpc-gateway to support http clients

from grpc-spring-boot-starter.

IamRichie avatar IamRichie commented on May 29, 2024

hah,i want to know,how to use it ??i can"t understand your says...a ha

from grpc-spring-boot-starter.

cforce avatar cforce commented on May 29, 2024

@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.

jvmlet avatar jvmlet commented on May 29, 2024

I'm confused ;-) , YOU opened the issue to support grpc for existing mvc endoints...

from grpc-spring-boot-starter.

cforce avatar cforce commented on May 29, 2024

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.

jvmlet avatar jvmlet commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.