juice
juice copied to clipboard
Java后端开发库,涵盖:常用工具类、SPI扩展、分布式锁、限流、分布式链路追踪等。
Juice
Overview
开箱即用的Java Web开发框架,内建分布式锁、限流、分布式链路追踪等特性。
Features
- 常用工具类及Java SPI扩展;
- 基于Redis的分布式锁实现(包括DistributedLock/MultiLock/RedLock),支持注解配置(key支持SpEL表达式);
- 支持多种限流器(包括单机限流、分布式限流);
- 分布式链路追踪,跨应用自动传递traceId(适配Filter、RestTemplate);
- 动态线程池实现;
Requirements
The minimum requirements to run the quick start are:
Installation
> git clone [email protected]:TFdream/juice.git
> mvn clean install -DskipTests
Download the latest JAR or grab via Maven:
<dependency>
<groupId>io.infinityclub</groupId>
<artifactId>juice-spring-boot-starter</artifactId>
<version>1.0.0</version>
</dependency>
or Gradle:
compile 'io.infinityclub:juice-spring-boot-starter:1.0.0'
Quick Start
License
Juice 基于 Apache License 2.0 协议。