question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migration rsocket 1.0.0-RC6 to 1.0.2 breaks functionality

See original GitHub issue

Expected Behavior

The implementation of 1.0.2 should work the same as 1.0.0-RC6

Actual Behavior

When I start the ServerStarter and directly after that the ClientStarter - the publisher subscribes, but no request is sent to the server when subscriber.onComplete(); is called.

The client server roundtrip should work like before (master branch)

The changes I did to migrate from 1.0.0-RC6 to 1.0.2 can be viewed in https://github.com/klopfdreh/rsocket_playground/pull/3/files

Steps to Reproduce

Your Environment

See pom.xml rsocket-transport-netty 1.0.2 / rsocket-core 1.0.2

  • RSocket version(s) used: 1.0.2

  • Other relevant libraries versions (eg. netty, …): netty

  • Platform (eg. JVM version (javar -version) or Node version (node --version)): java 13.0.1 2019-10-15 Java™ SE Runtime Environment (build 13.0.1+9) Java HotSpot™ 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)

  • OS and version (eg uname -a): macOS Catalina 10.15.6

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
klopfdrehcommented, Sep 14, 2020

@rstoyanchev The rewritten code works like a charm. I just wanted to know what exactly the issue was and as I read the documentation it is more clear to me. 👍

I guess this issue can be labeled as a question and I am going to close it with this comment.

The rework can be seen here:

https://github.com/klopfdreh/rsocket_playground/pull/3/commits/b8bf00c6d6666415fdfc46037ce0db17813d6846

1reaction
rstoyanchevcommented, Sep 14, 2020

@klopfdreh yes there were changes and even if the previous version was more lenient, the fact remains that your have a custom Publisher that does not behave according to Reactive Streams rules for a Publisher where a Publisher cannot call onNext before there is a request for more elements through the Subscription given to the Subscriber. Using a known well-behaved Publisher shows that it works as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gradle Module Metadata for rsocket-bom 1.0.0-RC6 missing ...
I'm trying to build with Gradle a project using the freshly released Spring Boot 2.2.5, which references rsocket-bom 1.0.0-RC6 , and the build ......
Read more >
spring-projects/spring-boot - Gitter
reason: i want to run my application in lightweight (database migration) mode, before actuall ... Could not resolve io.rsocket:rsocket-bom:1.0.0-RC6.
Read more >
RSocket dependency issue using Gradle6.3 with Spring boot ...
When I try to build the project, it tries to download "rsocket-bom-1.0.0-RC6.module" from my remote repository and it fails.
Read more >
Changelog and Migration Guide - Pre 1.0.0 - Detekt
The following how-to guide describes the migration process from the test-pattern functionality. Gradle Plugin: Including or excluding paths and files from ...
Read more >
Gradle Upgrade from 5.6 to 6.4.1 - Help/Discuss
RSocket 1.0.0-RC6 is broken. The published POM file contains the instruction to use Gradle metadata instead of using the POM file. Regardless of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found