Apache License 2.0

项目介绍

shiyindaxiaojie/eden-architect 是一个托管在 GitHub 上的开源项目,主要使用 Java 编写,采用 Apache License 2.0 许可证,目前获得 331 个 Star、83 次 Fork。

仓库全名
shiyindaxiaojie/eden-architect
开源许可证
Apache License 2.0
Star 数
331
Fork 数
83
未关闭 Issue
11

README 摘要

Eden Architect A One-Stop Solution for Enterprise Distributed Applications 简体中文 | English 📖 Introduction Eden Architect is dedicated to providing a comprehensive solution for enterprise-level development. It encapsulates the essential components for building distributed application services. By simply adding a few annotations and minimal configuration, you can integrate Spring Boot applications into a microservices…

完整内容见 GitHub 原始 README 或本页 。

常见问题

eden-architect 用什么语言开发?

主要使用 Java 编写,采用 Apache License 2.0 许可证,目前有 331 个 Star。

eden-architect 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 eden-architect 的源码?

可以直接克隆仓库:git clone https://github.com/shiyindaxiaojie/eden-architect.git,默认分支为 main;安装与运行步骤见仓库 README。

eden-architect 最近还在维护吗?

仓库最近一次更新为 4月25日,当前有 11 个未关闭 Issue;Star 数为 331,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A modern, out-of-the-box Spring framework for building lean, clean, and maintainable apps with zero intrusion, official modularization, and optional dependencies.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
503
价值分
223
活跃状态
活跃

语言占比

Groovy
Java

README

Eden* Architect

Build Status License SonarCloud

A One-Stop Solution for Enterprise Distributed Applications

简体中文 | English


📖 Introduction

Eden Architect* is dedicated to providing a comprehensive solution for enterprise-level development. It encapsulates the essential components for building distributed application services. By simply adding a few annotations and minimal configuration, you can integrate Spring Boot applications into a microservices ecosystem and rapidly build distributed systems using our robust middleware capabilities.

✨ Key Features

  • 📦 Unified Dependency Management: Centralized management of dependency versions to resolve conflicts and encapsulated common plugins to save build time.
  • 🛠️ Component Integration: Extensions based on official Spring, integrating components like XxlJob, CAT, Netty, Arthas, and more.
  • 🔌 Flexible Extension Points: High-level abstractions for mainstream technologies, allowing dynamic adaptation of Message Queues, Caching, SMS, Email, Excel, etc.
  • 💡 Enterprise Solutions: Out-of-the-box solutions for Multi-level Caching, Distributed Locks, Unique IDs, Idempotency, Auditing, Eventual Consistency, and Full-link Tracing.

🏗️ Architecture

Architecture Diagram

Component Overview

Component Description
eden-dependencies Manages global dependency versions.
eden-parent Build management, encapsulates common plugins, provides out-of-the-box configuration.
eden-commons Basic utility component, extending Apache Commons and Google Guava.
eden-extensions Lightweight extension point component, inspired by Dubbo SPI.
eden-cola Optimized COLA component with improved DDD models, state machines, and business extensions.
eden-solutions Solution toolkit for Caching, Locks, Deduplication, Auditing, etc.
eden-spring-framework Base framework supporting custom error codes and exception resolvers.
eden-spring-data Data storage extensions for Mybatis, Redis, Flyway, Liquibase.
eden-spring-security Auth extensions for OAuth2, Jwt, Shiro.
eden-spring-integration Integration with RocketMQ, Kafka, Netty, XxlJob.
eden-spring-cloud Cloud extensions for Nacos, Sentinel, Zookeeper.

🚀 Getting Started

Prerequisites

Since Spring Boot 2.4.x and 3.0.x vary significantly, we maintain matching branches:

  • Branch 2.4.x: For Spring Boot 2.4.x (Min JDK 1.8)
  • Branch 2.7.x: For Spring Boot 2.7.x (Min JDK 11)
  • Branch 3.0.x: For Spring Boot 3.0.x (Min JDK 17)

Installation

Clone the repository and install it to your local Maven repository:

git clone https://github.com/shiyindaxiaojie/eden-architect.git
cd eden-architect
./mvnw install -T 4C

Usage

  1. Add Parent POM: Reference eden-parent in your project’s pom.xml.

    <parent>
        <groupId>io.github.shiyindaxiaojie</groupId>
        <artifactId>eden-parent</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <relativePath/>
    </parent>
    
  2. Add Dependencies: Select the starters you need (e.g., for CAT integration).

    <dependencies>
        <dependency>
            <groupId>io.github.shiyindaxiaojie</groupId>
            <artifactId>eden-cat-spring-boot-starter</artifactId>
        </dependency>
    </dependencies>
    

    > Note: Version numbers are managed by eden-parent.

  3. Configuration: Enable features in application.yml.

    cat:
      enabled: true # Enable CAT
      trace-mode: true
      servers: localhost
    
  4. Run: Start your application. Tracing and other features will be active automatically.

    Tracing Demo

🧩 Demos

We provide sample projects demonstrating different architectural styles:

📅 Versioning

We follow Semantic Versioning x.y.z:

  • x: Major version (0 for incubation).
  • y: Minor version.
  • z: Patch version.

📝 Changelog

Please see CHANGELOG.md for details.

📄 License

This project is licensed under the Apache-2.0 License.

评论

暂无评论