talira

Compare

Go gRPC MiddlewareKratosgo-zerogRPC
What it isReady-made interceptors for gRPC Go: auth, logging, metrics, recovery and moreGo microservices framework for the cloud-native eraA cloud-native Go microservices framework with a code generation CLIA high performance, open source universal RPC framework
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.570.660.760.87
Stars6761260443344145465
Last commit2026-11-252026-11-232026-11-182026-11-27
LicenceApache-2.0MITMITApache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins—Yes—Yes
MCP server————
CompanygRPC EcosystemKratosgo-zero teamCloud Native Computing Foundation
non-profit
Features
  • auth interceptor
  • logging with slog, zap, zerolog, logrus and go-kit adapters
  • Prometheus metrics with exemplars
  • panic recovery, retries, timeouts and rate limiting
  • proto-based message validation
  • selector to apply interceptors per method
  • API-first development with Protobuf and generated HTTP/gRPC code
  • Unified HTTP and gRPC transport layer
  • Middleware for recovery, logging, validation, tracing, metrics and auth
  • Pluggable registry, configuration and encoding components
  • log/slog based logging with OpenTelemetry extensions
  • OpenAPI and error code generation
  • kratos CLI to create, generate and run services
  • Contrib packages for registries, config stores and observability
  • adaptive circuit breaker, load shedding, rate limiting and timeout control built in
  • goctl code generation for API and RPC services from .api files
  • client code generation for iOS, Android, Kotlin, Dart, TypeScript and JavaScript
  • automatic request parameter validation
  • built-in middleware usable in other frameworks
  • service definitions in Protocol Buffers with generated client and server stubs
  • unary calls and client, server and bidirectional streaming over HTTP/2
  • deadlines, cancellation, retries, request hedging and wait-for-ready
  • interceptors, metadata and status codes
  • pluggable authentication: TLS, ALTS and OAuth2 tokens
  • client-side load balancing, custom name resolution and service config
  • health checking, server reflection, compression and keepalive
  • OpenTelemetry metrics
  • All 9 features