I am using rsocket starter in Spring Boot (2.5.3). I have a requester and responder set up and its working quite well (for all kind of rsocket communication). The issue is when I am trying to implement resumability option on the requester side.
Here…
I am playing with rsocket-java.
Is there any way to send custom object via metadata.?
I saw this code sample in their documenation.
RSocketStrategies strategies = RSocketStrategies.builder()
.metadataExtractorRegistry(registry -> {
…
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…
I've come across a strange behaviour with the repeatWhenEmpty operator that doesn't make any sense to me. I uploaded a repository on Github with a minimum reproducible sample: https://github.com/codependent/rsocket-rating-service.
Consider this…
Trying to use Protobuf with RSocket, Requester doesn't consider dataMimeType set to application/protobuf or application/vnd.google.protobuf. I get error No decoder
Client Application
@SpringBootApplication
@Slf4j
public class…
Is it somehow possible to use Spring's RSocket integration in a "traditional" Servlet-based Spring application without having to sacrifice declarative transaction support or Spring Security integration? If so, how?
The objective would be to allow an…
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…
When the client is closed, the rsocket server does not receive the cancellation event and ongoing flux subscription till continues.
How to cancel the ongoing subscription in server side when client is closed ?
Here is how I created the…
I have read much documentation about Spring Security and the use with RSocket. It is possible to authenticate the client at Setup Time if the client sends authentication metadata along with the SETUP frame. It seems that Spring Security (server…
I am implementing a Routing Datasource, where the datasource is picked based on the @Destination dbRoutingKey. For multiple rest endpoints we can inject it into the publisher context in a WebFilter and later use it to determine the lookup key. With…
I am testing RSocket request-response logic and have some problem with processing headers.
I am using spring boot 2.7.9 with Kotlin.
My Controller:
package com.mol.rsocket.controller
import com.mol.rsocket.model.HelloRequest
import…
Can someone please provide an example which illustrates how to send Multipart Data(form-data) over Rsocket.
I tried using MimeTypeUtils.parseMimeType(WellKnownMimeType.MULTIPART_MIXED.getString()). But I always get No Encoder Found Exception for…
What is the difference between Spring webflux WebSocket and RSocket? I am trying to implement reactive websocket in my spring boot project but I see RSocket under a separate section on the spring webflux website along with spring…
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…
I am new to Rsocket and reactive Websocket and I develop an application where I need multiple channels, where my clients can subscribe. Until now I tried 2 solutions but unfortunately non of them workd as I expected.
I implemented a reactive…