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.

repeatWhenEmpty operator doesn't work when used in an RSocket

See original GitHub issue

Expected Behavior

repeatWhenEmpty() shoud work as expected

Actual Behavior

When using that operator subscriptions get stuck in an infinite loop. The same Publisher executes correctly when invoked from an HTTP SpringWebflux endpoint

Steps to Reproduce

Sample to reproduce the problem: https://github.com/codependent/rsocket-rating-service

Detailed context available on StackOverflow: https://stackoverflow.com/questions/62123120/repeatwhenempty-operator-doesnt-work-in-the-context-of-an-rsocket-websocket-req

  • RSocket version(s) used: 1.0.0
  • Other relevant libraries versions (eg. netty, …): Spring Boot 2.3.0
  • Platform (eg. JVM version (javar -version) or Node version (node --version)): JDK 11
  • OS and version (eg uname -a): Darwin MacBook-Pro.local 19.4.0 Darwin Kernel Version 19.4.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
simonbaslecommented, Jul 27, 2020

I just saw this issue pop up in my feed due to being closed. Just in case you missed it the root issue was https://github.com/reactor/reactor-core/issues/2196 and it was fixed back in 3.2.19.RELEASE and 3.3.8.RELEASE 👍

0reactions
OlegDokukacommented, Jul 27, 2020

yeah! I have seen it! That is why closed this

Read more comments on GitHub >

github_iconTop Results From Across the Web

repeatWhenEmpty operator doesn't work in the context of an ...
How can I use repeatWhenEmpty in the context of an RSocket websocket? UPDATE: I've added a log() operator to get some more info....
Read more >
reactor/reactor - Gitter
Hi. I've been some days now trying to inject a Scheduler hook in webflux but I can't success. I'm using Schedulers.onScheduleHook("myHook", runnable) ,...
Read more >
How to achieve same functionality as retry with repeatWhen or ...
Coding example for the question How to achieve same functionality as retry with repeatWhen or repeatWhenEmpty operator while combining with ...
Read more >
Reactive Streams Support - Spring
The ultimate goal of Reactive Streams libraries is to provide types, set of operators and supporting API for a target application in a...
Read more >
Reactive Spring - Internet Archive
Why do we use Spring Boot over (or in addition to?) Spring Framework? This chapter is a primer on the basics. We don't...
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