grpc-ecosystem / grpc-ecosystem/grpc-spring

@GrpcClient and @GrpcClientBean doesn't work without GrpcService

Open
#640 19 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.7k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

I have two microservices with common-lib and lib for proto-definition and my grpc client located at common-lib, but it only works with first microservice, where I have GrpcService, in second I haven't grpc client, no such bean definition.

I tried @GrpcClient, @GrpcClientBean and it doesn't work. I checked dependency graph, both have grpc-client dep, both have the same version of spring. It so strange, I added breakpoint on GrpcClientBeanPostProcessor and in second microservice I don't go there, but post processor in classpath. Have any ideas about it?

_Both microservices and lib written on Kotlin._

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.