Join Slack
Powered by
hello! are there any suggestions for grpc client? ...
# grpc
d
Dariusz Kuc
05/15/2020, 9:59 PM
hello! are there any suggestions for grpc client? e.g. looks like
https://github.com/yidongnan/grpc-spring-boot-starter
is pretty popular but wondering if there is something better
g
Gary
05/15/2020, 11:52 PM
https://github.com/grpc/grpc-kotlin
this is the official implementation was released a month or so ago
d
Dariusz Kuc
05/15/2020, 11:54 PM
Yeah I'm using it to generate stubs
Dariusz Kuc
05/15/2020, 11:54 PM
Looking into some configurable client that can add some interceptors etc
g
Gary
05/16/2020, 12:03 AM
gRPC interceptors are part of the core gRPC:
https://github.com/grpc/grpc-kotlin/blob/724a0d13899eb602f1178bc6ab8093b29e56a77f/interop_testing/src/main/java/io/grpc/testing/integration/TestServiceImpl.kt#L131
Gary
05/16/2020, 12:06 AM
In production we use a library by LINE to wrap extra functionality around the core gRPC lib you can check it out here:
https://line.github.io/armeria/docs/server-grpc
d
Dariusz Kuc
05/16/2020, 12:22 AM
👍
g
Gary
05/16/2020, 2:45 AM
Armeria also allows you to run grpc side by side with Spring which was important for us because a good number of our stacks use Spring
8
Views
Open in Slack
Previous
Next