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.

RSocket Input/Output cardinality not being handled correctly (FNF not working)

See original GitHub issue

Given the following sample:

@MessageMapping("fire-and-forget.{identifier}")
public Mono<Void> fireAndForget(@DestinationVariable String identifier) {
   log.info("Fire-and-forget is correctly being invoked with identifier: {}", identifier);
   return Mono.empty();
}

I would expect to invoke this as a Fire-and-forget interaction, e.g: _Following 2 examples uses the RSocket Client CLI: https://github.com/making/rsc_

java -jar rsc.jar --debug –fnf --route fire-and-forget.foo-bar tcp://localhost:7000

However nothing seems to happen, if I change it to a Request/response interaction instead, a log message is being written in my console output.

java -jar rsc.jar --debug –request --route fire-and-forget.foo-bar tcp://localhost:7000

2020-06-19 14:09:46.805  INFO 26120 --- [ctor-http-nio-4] c.e.r.RSocketController                  : Fire-and-forget is correctly being invoked with identifier: foo-bar

For a full sample, checkout my code sample at https://github.com/dnijssen/rsocket-fire-and-forget and look at the RSocketController

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dnijssencommented, Jun 23, 2020

Thank for fixing it so quick @making , i’ve tested it and works now 😉

0reactions
bclozelcommented, Jun 22, 2020

Thanks a lot for the quick fix @making !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Real-Time and Embedded Computing Systems and Applications
Usually, the safe server capacity for the shortest period may not be large enough to service a small part of GC work. For...
Read more >
Hortonworks Data Platform - HDP-2.2.9 Release Notes
The Hortonworks Data Platform, powered by Apache Hadoop, is a massively scalable and 100% open source platform for storing, processing and ...
Read more >
Real-Time and Embedded Computing Systems and Applications
Despite the fact that FNF heuristic does not guarantee an optimal broadcast time for general heterogeneous network of work- station, we prove that...
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