嘗試進行升級時遇到問題。將io.projectreactor版本從2.0.x升級到3.0.4 - 使用Spring框架
我目前使用2.0.x版本,特別是 -
reactor.bus
reactor.rx.Stream
reactor.rx.Streams
reactor.core.processor.RingBufferProcessor
reactor.fn.Consumer
我使用maven,和我有一個關於 'projectreactor' 單一依賴 -
<groupId>io.projectreactor.spring</groupId>
<artifactId>reactor-spring-core</artifactId>
當升級到版本3.0.4.RELEASE,爲了繼續使用我之前使用過的所有東西,我需要明確導入 -
<groupId>io.projectreactor</groupId>
<artifactId>reactor-bus</artifactId>
而且
<groupId>io.projectreactor</groupId>
<artifactId>reactor-stream</artifactId>
但我仍然失蹤
reactor.core.processor.RingBufferProcessor
reactor.fn.Consumer
,我不知道該怎麼做。
什麼abount RingBufferDispatcher?我正在使用EventBus,似乎所有的東西都會很快被棄用。讓我想到這個庫。 –
@AdamBerlin我已經添加了關於調度員的註釋。不確定EventBus,但是核心庫已經放棄了許多自定義實現轉移到標準Java 8類。 –
@AdmBerlin注意到3.x與2.x相比是一個非常大的範式轉換,現在更加關注反應式編程和反應流規範。 –