RSocket Input/Output cardinality not being handled correctly (FNF not working)
See original GitHub issueGiven 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:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank for fixing it so quick @making , i’ve tested it and works now 😉
Thanks a lot for the quick fix @making !