gRPC spring-boot-starter

1,473 views
Skip to first unread message

Alexander Furer

unread,
Feb 1, 2016, 4:56:23 AM2/1/16
to grpc.io
Hello group
I've created the gRPC spring-boot-starter here, your feedback is highly appreciated.
Thanks

Louis Ryan

unread,
Feb 1, 2016, 4:35:06 PM2/1/16
to Alexander Furer, grpc.io
Two comments

1) Cool!
2) For camel-cased Java names we use Grpc instead of GRpc. No big deal

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/cada07a8-bd08-496c-941b-fb58b81f2632%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sky Ao

unread,
Feb 16, 2016, 10:33:03 AM2/16/16
to grpc.io
I'm so glad to find your project in github! This is just what I need.

Sky

在 2016年2月1日星期一 UTC+8下午5:56:23,Alexander Furer写道:

Alexander Furer

unread,
Feb 16, 2016, 10:45:19 AM2/16/16
to grpc.io
Cool, please share your experience with it.

deep...@gmail.com

unread,
Mar 9, 2016, 9:09:56 PM3/9/16
to grpc.io
What gradle task should I use to run this? ex: gradle deploy ??

Alexander Furer

unread,
Mar 10, 2016, 11:07:49 AM3/10/16
to grpc.io, deep...@gmail.com
You should create your own SpringBootApplication with this starter and run it with java -jar YOUR_JAR_NAME.

Selcuk Bozdag

unread,
Jul 11, 2017, 1:23:51 PM7/11/17
to grpc.io, deep...@gmail.com
Hi,

Very cool!

We are at the beginning of developing with microservices using gRPC. Our microservices are designed to be run on JVM.
Inside our persistence layer, we would like to use an ORM library. Spring Data JPA project looks very promising.
So, we will depend on spring-boot-starter I guess.

Anyone here with such an experience like that?

Thanks,

x25836...@gmail.com

unread,
Jun 21, 2018, 12:37:37 AM6/21/18
to grpc.io
hello, I m using 

<dependency>
<groupId>org.lognet</groupId>
<artifactId>grpc-spring-boot-starter</artifactId>
<version>2.1.4</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>io.zipkin.brave</groupId>
<artifactId>brave-instrumentation-grpc</artifactId>
<version>4.13.1</version>
</dependency>

<dependency>
<groupId>io.zipkin.brave</groupId>
<artifactId>brave</artifactId>
<version>4.13.1</version>
</dependency>

and I want to use brave-instrumentation-grpc monitor my grpc server application. and I followed your advice:

@Configuration
public class GrpcFilterConfig{

@GRpcGlobalInterceptor
@Bean
public ServerInterceptor globalInterceptor(){
Tracing tracing = Tracing.newBuilder().build();
GrpcTracing grpcTracing = GrpcTracing.create(tracing);
return grpcTracing.newServerInterceptor();
}
}



The question is : 

Map<String, Object> beansWithAnnotation = this.applicationContext.getBeansWithAnnotation(annotationType);

beansWithAnnotation is null. 

Is there something wrong with my usage?
Reply all
Reply to author
Forward
0 new messages