Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
denis111 opened this issue Nov 29, 2022 · 1 comment
Closed

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

denis111 opened this issue Nov 29, 2022 · 1 comment
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@denis111
Copy link

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'
@denis111 denis111 added the kind/bug Something isn't working label Nov 29, 2022
Gonzoe79 pushed a commit to Gonzoe79/java-sdk that referenced this issue Dec 5, 2022
updating project reactor dependency to work with spring boot 3,
replacing deprecated calls to subscriberContext
Gonzoe79 pushed a commit to Gonzoe79/java-sdk that referenced this issue Dec 5, 2022
updating project reactor dependency to work with spring boot 3,
replacing deprecated calls to subscriberContext

Signed-off-by: Jan Czapla <jan.czapla@bosch.com>
@artursouza artursouza modified the milestone: v1.9 May 26, 2023
@artursouza artursouza added this to the v1.11 milestone Jul 10, 2023
@artursouza
Copy link
Member

You should be able to use Springboot 3.x starting in Dapr SDK 1.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants