finds.dev

LogNet/grpc-spring-boot-starter

Spring Boot starter module for gRPC framework.

View on GitHub

★ 2,256JavaApache-2.0updated Nov 2025

// the take

A Spring Boot starter that auto-configures an embedded gRPC server and wires it into Spring's DI, interceptor, and security machinery via an @GRpcService annotation. Aimed at Java/Spring teams who want gRPC services to feel like any other Spring bean rather than hand-rolling ServerBuilder setup. Actively maintained (pushed Nov 2025, on 5.2.0) with a sizeable demo module covering most of its own feature surface.

The interceptor system is genuinely well thought out — global vs per-service interceptors, Spring @Order-based precedence, and a documented diagram of exactly when each interceptor fires relative to message handling. Spring Security integration goes beyond a checkbox: method-level @PreAuthorize/@PostAuthorize with SpEL access to request/response objects, pluggable AuthenticationSchemeSelector for custom auth schemes, and JWT support out of the box. Metrics (Micrometer/Prometheus) and health checks are first-class, not bolted on, and the error-handling model (@GRpcServiceAdvice + per-service exception handlers) mirrors Spring MVC's @ControllerAdvice closely enough that existing Spring devs will recognize it immediately.

The README flags its own correctness footgun: @Transactional on a gRPC method commits the transaction after the response is already sent, so a fast client can race a read against an uncommitted write — the only fix is restructuring the service into a separate transactional bean, which is friction that shouldn't exist in a 'starter.' Netty dependency management is fragile — shaded vs pure netty conflicts and Spring Boot's dependency management plugin can silently pull a binary-incompatible grpc version unless you manually pin it. Maven users are second-class citizens; the docs are Gradle-first with the Maven path reduced to 'search for a plugin yourself.' The whole doc is one giant Asciidoc file, which makes it hard to scan for a specific feature without full-text search.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
2,256
Forks
423
Language
Java
License
Apache-2.0
Last commit
13 Nov 2025

// nearby

If grpc-spring-boot-starter isn't quite it.

All repos →