awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
go-kratos avatar

go-kratos/kratos

0
View on GitHub↗
25,743 星标·4,161 分支·Go·MIT·9 次浏览go-kratos.dev↗

Kratos

Kratos is a toolkit for building cloud-native microservices in Go. It provides a comprehensive suite of framework primitives, including a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP.

The project is distinguished by its pluggable service infrastructure, which allows for the swapping of configuration stores, service registries, and data encoding formats. It utilizes a composable middleware pipeline to inject cross-cutting concerns such as authentication, request validation, and circuit breaking into the service flow.

The framework covers broad capability areas including cloud-native observability via OpenTelemetry for logging, metrics, and tracing, as well as traffic management through circuit breakers and request interception. It further supports service discovery, asynchronous event distribution, and automated development lifecycle tooling for project bootstrapping and static analysis.

Features

  • Cloud Native Development Frameworks - Provides a comprehensive framework for building scalable, resilient cloud-native microservices in Go.
  • Pluggable Architectures - Decouples core logic from external dependencies using a pluggable architecture based on Go interfaces.
  • API Code Generators - Provides tools to automatically produce server stubs and client libraries from API interface definitions.
  • API-First Development Toolsets - Offers a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP.
  • Schema-Driven Code Generators - Produces type-safe server and client boilerplate from Protobuf schema definitions.
  • HTTP Transports - Provides robust implementations of HTTP and gRPC transport layers with integrated TLS encryption.
  • Multi-Protocol Routing - Implements a single routing layer to handle multiple communication protocols like HTTP and gRPC in one service.
  • Protocol-Agnostic Transport Layers - Provides a protocol-agnostic transport layer to route traffic regardless of whether it uses HTTP or gRPC.
  • API-First Design Workflows - Enables an API-first workflow using Protobuf to generate consistent gRPC and HTTP server and client code.
  • Application Configuration - Manages application settings by loading configurations from local files or distributed stores.
  • Modular Extension Architectures - Implements a modular architecture that allows swapping configuration stores, service registries, and data encoding formats.
  • Composable Middleware Pipelines - Ships a composable middleware pipeline to inject cross-cutting concerns like authentication and recovery into the service flow.
  • Service Instance Lifecycle Management - Provides a service registry to track available service instances across a distributed cluster.
  • Distributed Observability Systems - Integrates structured logging, metrics, and tracing via OpenTelemetry to monitor health across distributed microservices.
  • Distributed Tracing Contexts - Attaches metadata and trace IDs to request contexts to synchronize logs, metrics, and spans across services.
  • Observability Suites - Provides an integrated observability suite for collecting and analyzing logs, metrics, and traces via OpenTelemetry.
  • Go Web Frameworks - Acts as a comprehensive toolkit for building high-performance cloud-native microservices using the Go programming language.
  • Middleware Pipelines - Features a composable middleware system to intercept and process network traffic through modular request and response stages.
  • Service Middleware Pipelines - Implements a composable middleware pipeline for injecting authentication, JWT validation, and data validation into the service flow.
  • API Compatibility Analysis - Analyzes Protobuf files for breaking changes and style violations to ensure backward compatibility.
  • Microservice Project Scaffolding - Ships a command-line tool to create a standardized project structure and runtime environment for microservices.
  • Server Boilerplate Generators - Automates the creation of server-side boilerplate and error handling code from API schemas.
  • Service Meshes - Manages inter-service traffic using gRPC, circuit breakers, and service discovery to ensure system stability.
  • Circuit Breakers - Prevents cascading failures by wrapping remote service calls in a circuit breaker state machine.
  • System Stability Protections - Prevents cascading failures by implementing combined rate limiting and circuit breakers to manage traffic spikes.
  • Access Control - Implements systems to authenticate requests and restrict access to protected resources based on security policies.
  • JWT Authentication - Provides middleware to validate JSON Web Tokens within the request pipeline to secure service endpoints.
  • API Contract Linting - Analyzes Protobuf definitions for style violations and breaking changes to ensure API contract integrity.
  • Request Interception Middleware - Provides request interception middleware for cross-cutting concerns such as logging, metrics collection, and panic recovery.
  • Request Validation - Provides middleware and utilities to verify that incoming HTTP request data meets specified constraints before processing.
  • Metric Collection - Provides capabilities to gather and export quantitative performance data and operational telemetry to monitoring platforms.
  • Monitoring and Observability - Integrates logging and telemetry via standard libraries to provide visibility into service health and performance.
  • Telemetry Collectors - Includes telemetry collectors to aggregate metrics, traces, and logs for monitoring health across complex architectures.
  • JSON Encoding - Implements flexible serialization of data into JSON format using standard or Protobuf-specific semantics.
  • Request Data Binding - Maps incoming HTTP request data from URLs, queries, and forms into structured Go objects.
  • Distributed Systems - Modular microservices framework.
  • 微服务框架 - Cloud-native framework designed for microservice development.
  • Microservices and RPC - Cloud-native microservices framework.
  • Web Frameworks - Microservices-oriented framework designed for high-concurrency systems.

Star 历史

go-kratos/kratos 的 Star 历史图表go-kratos/kratos 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Kratos 的开源替代方案

相似的开源项目,按与 Kratos 的功能重合度排序。
  • tal-tech/go-zerotal-tech 的头像

    tal-tech/go-zero

    33,103在 GitHub 上查看↗

    go-zero is a toolkit for building cloud-native distributed services in Go. It functions as a microservices framework that provides built-in support for RPC, web APIs, and service discovery. The project includes a microservices code generator that produces production-ready server and client boilerplate from API descriptions. This automation is supported by a domain-specific language and pattern libraries designed to ensure compatibility with AI assistants. The framework incorporates a resilience suite for distributed system reliability, utilizing adaptive circuit breakers, rate limiting, and

    Go
    在 GitHub 上查看↗33,103
  • twitchtv/twirptwitchtv 的头像

    twitchtv/twirp

    7,517在 GitHub 上查看↗

    Twirp is a Protocol Buffers RPC framework designed for implementing type-safe, distributed microservices communication over HTTP. It functions as a microservices communication framework and API code generator that produces strongly typed client stubs and server interfaces from schema definitions to eliminate manual network boilerplate. The framework ensures compatibility with existing web infrastructure by executing remote procedure calls over standard HTTP transport. It uses schema-driven contracts as a single source of truth to enable cross-language interoperability and decouple business lo

    Go
    在 GitHub 上查看↗7,517
  • dodyg/practical-aspnetcoredodyg 的头像

    dodyg/practical-aspnetcore

    10,382在 GitHub 上查看↗

    This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro

    C#asp-net-coreaspnet-coreaspnetcore
    在 GitHub 上查看↗10,382
  • nodeshift/nodejs-reference-architecturenodeshift 的头像

    nodeshift/nodejs-reference-architecture

    1,747在 GitHub 上查看↗

    This project provides a comprehensive architectural framework and set of standardized patterns for building, securing, and scaling production-ready Node.js applications. It serves as a foundational guide for establishing consistent development workflows, operational observability, and reliable service integration across distributed software systems. The framework distinguishes itself by emphasizing a schema-first approach to API development, ensuring that interface definitions drive the creation of server stubs, client libraries, and type definitions. It promotes a cloud-native posture by int

    JavaScript
    在 GitHub 上查看↗1,747
查看 Kratos 的所有 30 个替代方案→

常见问题解答

go-kratos/kratos 是做什么的?

Kratos is a toolkit for building cloud-native microservices in Go. It provides a comprehensive suite of framework primitives, including a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP.

go-kratos/kratos 的主要功能有哪些?

go-kratos/kratos 的主要功能包括:Cloud Native Development Frameworks, Pluggable Architectures, API Code Generators, API-First Development Toolsets, Schema-Driven Code Generators, HTTP Transports, Multi-Protocol Routing, Protocol-Agnostic Transport Layers。

go-kratos/kratos 有哪些开源替代品?

go-kratos/kratos 的开源替代品包括: tal-tech/go-zero — go-zero is a toolkit for building cloud-native distributed services in Go. It functions as a microservices framework… twitchtv/twirp — Twirp is a Protocol Buffers RPC framework designed for implementing type-safe, distributed microservices communication… dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… nodeshift/nodejs-reference-architecture — This project provides a comprehensive architectural framework and set of standardized patterns for building, securing,… cloudwego/hertz — Hertz is a high-performance Go HTTP framework designed for building scalable microservices, RESTful APIs, and AI… goadesign/goa — Goa is a design-first Go framework that generates server and client code, documentation, and request validation from a…