Not working w/ Spring Framework | No Spring Boot
I am working on POC to migrate to gRPC from REST in my org. All the examples given works fine for spring-boot, however all the the core micro-service which require migrating are very old and does not use spring boot. It is still on old xml configurations and uses spring v. 4.2.0.RELEASE
Already Tried making many unsuccessful efforts my self to make use of this library but to no avail.
What do you wish to achieve?
Suggestion or nudge in right direction to get over road block.
What's the problem? What's not working? What's missing and why do you need it?
After getting over multiple road blocks, I am kind of stuck on this one. For some reason which I am not able to understand syncClient is not loading (attached image below for reference)
Stacktraces and logs
Do you have any relevant stacktraces or logs of your attempts?
The application's environment
Which versions do you use?
- Spring (boot): NA
- Spring : 4.2.0.RELEASE
- grpc-java:
- grpc-spring-boot-starter: grpc-client-spring-boot-starter - 2.12.0.RELEASE, grpc-server-spring-boot-autoconfigure - 2.12.0.RELEASE
- java: version + architecture (64bit?) Java 1.8, macOS 13.0 M1 pro
- Other relevant libraries...
Additional information
- Did it ever work before?
- How can we reproduce it?
- Do you have a demo?
Since you dont use spring boot, you have to create the following beans yourself: https://github.com/yidongnan/grpc-spring-boot-starter/blob/master/grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/autoconfigure/GrpcClientAutoConfiguration.java