Reactor

Reactor BOM 和 legacy (2.x, 1.x)。【Reactor BOM and legacy (2.x, 1.x)】

  • 所有者: reactor/reactor
  • 平台: Linux, Mac, Windows
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Reactor Project

Join the chat at https://gitter.im/reactor/reactor

Download

Starting from 3.0, Reactor is now organized into multiple projects:

Reactor Project

A set of compatible versions for all these projects is curated under a BOM ("Bill of Materials").

Using the BOM with Maven

In Maven, you need to import the bom first:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>io.projectreactor</groupId>
            <artifactId>reactor-bom</artifactId>
            <version>Dysprosium-SR4</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

Notice we use the <dependencyManagement> section and the import scope.

Next, add your dependencies to the relevant reactor projects as usual, except without a <version>:

<dependencies>
    <dependency>
        <groupId>io.projectreactor</groupId>
        <artifactId>reactor-core</artifactId>
    </dependency>
    <dependency>
        <groupId>io.projectreactor</groupId>
        <artifactId>reactor-test</artifactId>
        <scope>test</scope>
    </dependency>
</dependencies>

Using the BOM with Gradle

Gradle 5.0+

Use the platform keyword to import the Maven BOM within the dependencies block, then add dependencies to
your project without a version number.

dependencies {
     // import BOM
     implementation platform('io.projectreactor:reactor-bom:Dysprosium-SR4')

     // add dependencies without a version number
     implementation 'io.projectreactor:reactor-core'
}

Gradle 4.x and earlier

Gradle versions prior to 5.0 have no core support for Maven BOMs, but you can use Spring's gradle-dependency-management plugin.

First, apply the plugin from Gradle Plugin Portal (check and change the version if a new one has been released):

plugins {
    id "io.spring.dependency-management" version "1.0.6.RELEASE"
}

Then use it to import the BOM:

dependencyManagement {
     imports {
          mavenBom "io.projectreactor:reactor-bom:Dysprosium-SR4"
     }
}

Then add a dependency to your project without a version number:

dependencies {
     compile 'io.projectreactor:reactor-core'
}

BOM Versioning Scheme

The BOM can be imported in Maven, which will provide a set of default artifact versions to use whenever the corresponding dependency is added to a pom without an explicitly provided version.

As the different artifacts versions are not necessarily aligned, the BOM represents a release train with a codename-based versioning scheme: the usual MAJOR.MINOR numbers are replaced by a chemical name from the Periodic Table of Elements, in growing alphabetical order.

The first stable release is simply suffixed with -RELEASE, but the equivalent of patch releases are also possible as "Service Releases", appending the suffix -SR followed by the number of the service release (eg. -SR1, -SR2).

So far, the release trains are named:

  • Aluminium for the 3.0.x generation of Reactor-Core (:bulb:)
  • Bismuth for the 3.1.x generation (:bulb:)
  • Californium for the 3.2.x generation (:bulb:)
  • Dysprosium for the 3.3.x generation (:bulb:)

Enrolling

Join the initiative, fork, discuss and PR anytime. Roadmap is collaborative and we do enjoy new ideas, simplifications, doc, feedback, and, did we mention feedback already ;) ? As any other open source project, you are the hero, Reactor is only useful because of you and we can't wait to see your pull request mate !

GitHub forks
license

Documentation

Community / Support

  • Join the chat at https://gitter.im/reactor/reactor
  • GitHub issues
  • Twitter URL

Detail of Projects

Reactor Core

Reactor Core

Reactive foundations for apps and frameworks and reactive extensions inspired API with Mono (1 element) and Flux (n elements) types

Reactor Netty

Reactor Netty

TCP and HTTP client and server.

Reactor Addons

Reactor Addons

Extra projects adding features to reactor:

  • reactor-adapter: adapt to/from various libraries, mainly RxJava 2.
  • reactor-extra: Retry utils, Math utils, ...
  • reactor-logback: logback adapter for Flux/Mono log() feature.

Snapshot Artifacts

While Stable Releases are synchronized with Maven Central, fresh snapshot and milestone artifacts are provided in the repo.spring.io repositories.

To add this repo to your Maven build, add it to the <repositories> section like the following:

<repositories>
	<repository>
	    <id>spring-snapshot</id>
	    <name>Spring Snapshot Repository</name>
	    <url>https://repo.spring.io/snapshot</url>
	    <snapshots>
	        <enabled>true</enabled>
	    </snapshots>
	</repository>
</repositories>

To add it to your Gradle build, use the repositories configuration like this:

repositories {
	maven { url 'https://repo.spring.io/libs-snapshot' }
	mavenCentral()
}

You should then be able to import a BUILD-SNAPSHOT version of the BOM, like Dysprosium-BUILD-SNAPSHOT.

Reactive Streams Commons

In a continuous mission to design the most efficient concurrency operators for Reactive Streams, a common effort -codename Reactive Streams Commons- has begun. Reactor is fully aligned with RSC design and is directly inlining RSC within its stable API contract scoped under reactor-core. Reactive Streams Commons is a research effort shared with everyone and is demanding of efficient stream processing challengers, therefore it is naturally decoupled of any framework noise.

Sponsored by Pivotal

主要指標

概覽
名稱與所有者reactor/reactor
主編程語言
編程語言 (語言數: 0)
平台Linux, Mac, Windows
許可證Apache License 2.0
所有者活动
創建於2013-04-22 21:10:05
推送於2025-06-09 14:38:13
最后一次提交
發布數239
最新版本名稱2025.0.0-M3 (發布於 2025-05-13 18:46:55)
第一版名稱v1.0.0.M1 (發布於 2013-07-16 10:01:54)
用户参与
星數3.7k
關注者數250
派生數494
提交數0.9k
已啟用問題?
問題數513
打開的問題數8
拉請求數199
打開的拉請求數1
關閉的拉請求數44
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?