Skip to content

Reactor 3.5/2022.0.0 in Spring Boot 3 not supported #815

Closed
@denis111

Description

@denis111

Expected Behavior

Publishing pubsub message with Dapr Java SDK 1.7.1 and Spring Boot 3 to work out-of-the-box.

Actual Behavior

Publishing event fails with exception:

java.lang.NoSuchMethodError: 'reactor.core.publisher.Mono reactor.core.publisher.Mono.subscriberContext()'
	at io.dapr.client.DaprClientGrpc.publishEvent(DaprClientGrpc.java:177)

Steps to Reproduce the Problem

Create Spring Boot 3 application, add Dapr client, try to publish anything to pubsub.

Release Note

RELEASE NOTE: UPDATE reactore-core to v3.5.0.

Suggested workaround

If you use Gradle and io.spring.dependency-management plugin you can workaround it by downgrading reactor-bom:

ext['reactor-bom.version'] = '2020.0.25'

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions