Questions tagged [rsocket-java]
43 questions
1
vote
1 answer
How long can a RSocket connection last?
I understand that RSocket connection is bidirectional.
How long can a client be connected to a server via RSocket before the connection is terminated?
And if the connection actually does terminate, how does it get reconnected if the server wants to…

Wilson
- 1,259
- 11
- 17
1
vote
0 answers
WebFlux+RSocket, How to pass flux from RSocket to WebFlux
I'm trying to use WebFlux with RSocket, The sample application has server and client applications. both running on WebFlux and RSocket, my rsocket communication type is request-stream. client-server application runs perfectly fine for couple…

Karthik Prasad
- 9,662
- 10
- 64
- 112
1
vote
0 answers
RSocket Database (Cassandra or Postgresql) Performance study
I am trying to use RSocket for Microservices within my org. As we have lot to communicate and fetch from databases like Cassandra and Postgresql, I observed a dip in performance.
When I run a sample Rsocket Client and Rsocket Server that returns a…

Karthik Palanivelu
- 11
- 1
0
votes
0 answers
How to increase default frame length acceptance of RSocket?
I'm using Angular JS as front end and RSocket (Spring Webflux) in the back end.
For sending large file from front end file upload action, I'm chunking file into multiple file parts and consuming it in the I/O stream at the back end. Now, I'm able to…
0
votes
0 answers
Rsocket-java stream: How to replace/update the JWT token within Flux.retryWhen(...)?
Given the rsocket client retrieving data from server using stream semantic, I would like to utilize Flux.retryWhen(retryBackoffSpec) mechanizm to reconnect in case connection is lost. Streaming endpoint on server requires valid JWT tokens to be…

Maciej Lach
- 1,622
- 3
- 20
- 27
0
votes
1 answer
Unable to authenticate RSocket kotlin client(ktor) to a Spring RSocket server
I've created a Spring RSocket server to provide for my kotlin ktor app realtime updates. Without authentication the kotlin client is able to connect to the stream and receive updates. When I configured to the server basic auth using RSocket Spring…

Vinícius M. Freitas
- 133
- 1
- 11
0
votes
1 answer
RSocket error 0x201 (APPLICATION_ERROR): empty String
I have an Roscket connection from the browser(in an create-react-app ecosystem) to a spring netty server,
connection is working but after some time I am getting the following error on the client side(rsocket js 0.0.27)
RSocket error 0x201…

Roie Beck
- 1,113
- 3
- 15
- 30
0
votes
0 answers
Can I enable rsocket retry when ConnectionErrorException occur?
I init my rsocket client with retry as follow:
Mono requesterMono = rsocketRequesterBuilder.setupRoute(SETUP_ROUTE)
.setupData(new ObjectMapper().writeValueAsString(getAuthInfo()))
…

Kami Wan
- 724
- 2
- 9
- 23
0
votes
1 answer
How to create RSocket request endpoints without using Spring Library in Java?
I want to create RSocket request endpoints using plan Java RSocket SDK and without using Spring Framework. I was able to create a sample request with the help of the below code snippet. This works only for the request tcp://localhost:7000. But I…

Rajesh
- 4,273
- 1
- 32
- 33
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- 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…

Karthik Palanivelu
- 11
- 1
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