KrakenD is an extensible API gateway written in Go that routes, secures, and aggregates traffic to backend services. Its stateless design targets linear horizontal scaling without a central database.
Overview
KrakenD Community Edition is the open-source distribution of the KrakenD API gateway. It sits between API consumers and backend services so routing, authentication, aggregation, and traffic management are handled once at the edge instead of in every microservice.
Configuration is declarative and fits GitOps workflows. The gateway can merge responses from several backends into a single payload, convert between XML and JSON, and apply security controls such as JWT, OAuth, CORS, and HSTS. Rate limiting, circuit breaking, load balancing, and concurrent calls help manage load on downstream services.
Telemetry can be exported to tools including Datadog, Zipkin, Jaeger, Prometheus, and Grafana. Extensions are possible with Lua scripts, Martian, or Google CEL. An official Docker image listens on port 8080 with a configuration file.
The project is platform-agnostic for cloud-native Kubernetes setups or on-premises hosting. A separate Enterprise edition adds advanced security, governance, and AI gateway capabilities while sharing the same stateless core engine.
Key features
- Declarative JSON configuration
- API aggregation and composition
- JWT and OAuth security
- Multi-layer rate limiting
- XML and JSON transformation
- OpenTelemetry integrations
- Lua and CEL extensibility
- Official Docker image
Use cases
- Unified entry point for microservices
- Backend-for-frontend API composition
- Gradual monolith-to-microservices migration
- GitOps-managed API configuration
- High-throughput edge routing