Questions tagged [rsocket]

RSocket is a binary protocol, providing Reactive Streams semantics over the network, for byte stream transports such as: TCP, Websockets, and Aeron.

RSocket is a binary application-level communication protocol, providing Reactive Streams semantics over the network, for byte stream transports such as: TCP, Websockets, and Aeron.

It enables the following symmetric interaction models via async message passing over a single connection:

  • request/response (stream of 1)
  • request/stream (finite stream of many)
  • fire-and-forget (no response)
  • channel (bi-directional streams)

RSocket supports session resumption, to allow resuming long-lived streams across different transport connections. This is particularly useful for mobile<->server communication when network connections drop, switch, and reconnect frequently.

More Information

226 questions
0
votes
1 answer

How do you add reactive interceptors to Spring Boot annotated controllers?

I've set up rsocket metrics using rsocket-micrometer on the CLIENT side, by configuring the RSocketConnector with interceptors, like this (Kotlin): rSocketReqesterBuilder.rsocketConnector { configureConnector(it) } // ... private fun…
Eric J Turley
  • 350
  • 1
  • 5
  • 20
0
votes
1 answer

Spring RSocket Kubernetes server - Side car to convert http requests from client?

Small question regarding how to convert http requests into RSocket please. The server setup is a very straightforward RSocket server. The server is dockerized and deployed in Kubernetes. Now there are many clients, I do not have control over them.…
PatPanda
  • 3,644
  • 9
  • 58
  • 154
0
votes
1 answer

Is there any way to use rsocket-kotlin-impl in a spring boot project?

Is there any way to use rsocket-kotlin-impl in a spring boot project? Thanks in advance !
0
votes
1 answer

RSocket Android + Spring Boot back-end routing error: No handler for destination ''

I get the ApplicationErrorException: No handler for destination '' trying to connet to my web server (spring boot) from android code using RSocket. As a transport I use websockets. On the server side I use:
Mr. Nexter
  • 11
  • 4
0
votes
1 answer

NoClassDefFoundError - missing dependencies in the classpath

My problem I have written some java-code. The code runs flawlessly in intellij.But when I run it as a .jar file (i.e., the command java -jar app.jar), I get the error message: Unable to initialize main class RSocketClient.Client Caused by:…
August Jelemson
  • 962
  • 1
  • 10
  • 29
0
votes
1 answer

RSocket error 0x201 (APPLICATION_ERROR): readerIndex(1) + length(102) exceeds writerIndex(8): UnpooledSlicedByteBu

setInterval(() => { let that = this; this.socket && this.socket.requestResponse({ data: '' + (++index), metadata: 'org.mvnsearch.account.AccountService.findById', }).subscribe({ …
Robert Ravikumar
  • 912
  • 2
  • 11
  • 29
0
votes
1 answer

RSocket- Expose service methods on request-response semantics

I am trying to expose all my backend service calls(all returns response to the calling client) via requestResponse paradigm in RSocket Implementation. To do that, either I have to use RPC or reflections. I do not want to go in the route of…
0
votes
1 answer

RSocket channel error : "reactor.core.publisher.Operators.error - Operator called default onErrorDropped" with merged flux

I want to create a rsocket channel where the data sent from the server can be either a reaction to a client request or a push. I use a flux merge for that. It's referential data : the refresh can be asked by the client and the server can also push…
Raphaël Lemaire
  • 1,269
  • 1
  • 13
  • 23
0
votes
0 answers

how to build rsocket-cpp for android ndk

can you please help to build rsocket-cpp library for android ndk. The main problem was to include folly and fmt cmake projects so that rsocket-cpp will find it by itself with subsequent build and linking. I was able to build rsocket-cpp with…
0
votes
1 answer

Implementing a 202 ACCEPTED - Retry-After behaviour with RSocket and Project Reactor

I'm implementing a tipical use case in which a client asks for a resource that will be asynchronously generated. Thus, a resourceID is generated and returned right away: 1. CLIENT ---(POST /request-resource)---> SERVER 2. SERVER (Generates resID,…
codependent
  • 23,193
  • 31
  • 166
  • 308
0
votes
1 answer

package io.rsocket.core does not exist during maven build

I'm facing some strange problem. During maven build I'm getting package io.rsocket.core does not exist. My pom.xml contains following dependencies io.rsocket rsocket-core
Nem
  • 336
  • 3
  • 8
  • 22
0
votes
1 answer

Publish FluxSink of different object types

I have an rsocket endpoint that responds with a flux: @MessageMapping("responses") Flux deal(@Payload String message) { return myService.generateResponses(message); } The responses can be any of 3 different types of objects produced…
rupweb
  • 3,052
  • 1
  • 30
  • 57
0
votes
1 answer

@GetMapping and RSocketServer with spring-boot-starter-rsocket

Was trying out RSocket Request/Response as specified in section 4 of https://www.baeldung.com/spring-boot-rsocket. So there is a RSocketServer autoconfigured and listening at port 7000. Unable to connect to the method annotated with @GetMapping when…
tux
  • 36
  • 3
-1
votes
1 answer

Flutter RSocket client not connecting to RSocket API created using Spring Boot

I'm playing with RSocket in Flutter. I've created two RSocket apis like below: @MessageMapping("stream") Flux numbers(){ return Flux.interval(Duration.ofSeconds(1)); } @MessageMapping("echo") Mono
Mahdi Amini
  • 402
  • 1
  • 3
  • 17
-1
votes
1 answer

RSocket controller sending Reactor Flux message to IIS hosted signalR client but nothing is received

In a dev environment a local IIS and signalR client web app creates a session with a spring boot RSocket server, and message flow is working fine. After deployment to another server and a fresh IIS install, the signalR client can send messages to…
rupweb
  • 3,052
  • 1
  • 30
  • 57
1 2 3
15
16