talira

Compare

gRPC-GatewayKratos
What it isprotoc plugin that generates a REST/JSON reverse proxy for your gRPC servicesGo microservices framework for the cloud-native era
KindOpen sourceOpen source
Trust0.730.66
Stars2001526044
Last commit2026-11-282026-11-23
LicenceBSD-3-ClauseMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins—Yes
MCP server——
CompanygRPC EcosystemKratos
Features
  • generates a Go reverse proxy that serves a REST/JSON API in front of gRPC
  • follows google.api.http annotations for paths, query strings and request bodies
  • maps server streaming to newline-delimited JSON
  • maps HTTP headers to gRPC metadata and sets gRPC timeouts
  • turns PATCH requests into field-mask updates
  • generates OpenAPI (Swagger 2.0) definitions with protoc-gen-openapiv2
  • 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
Limitations
  • Its makers don't plan to support method parameters in HTTP headers, trailer metadata, XML bodies or true bidirectional streaming.
  • protoc-gen-openapiv3 (OpenAPI 3.1 output) is alpha: its output may change between minor releases, and protoc-gen-openapiv2 is the stable option.