尝试进行升级时遇到问题。将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相比是一个非常大的范式转换,现在更加关注反应式编程和反应流规范。 –