Questions tagged [rsocket-java]

43 questions
5
votes
2 answers

How to config SSL/TLS in spring boot with rsocket?

I have read the related question in stackoverflow. However, the answer only tell how to config about auth check. I need to encrpt all transferred data with rsocket in spring boot. How can I use tls in spring boot with SSL/TLS. I can't find any…
Kami Wan
  • 724
  • 2
  • 9
  • 23
5
votes
2 answers

Error while connecting to Spring Boot RSocket server from RSocket-Java Client

I am having issue while connecting to Spring Boot RSocket application over TCP. The client when using RSocketRequester works fine but when I try to connect using RSocketFactory client it keep getting errors. Code below. RSocket rSocket =…
user3549576
  • 99
  • 1
  • 4
  • 17
5
votes
1 answer

WebFlux + RSocket + Spring

Can someone tell me or give a ready-made CRUD example using WebFlux, RScoket and Spring (or SpringBoot)? I studied the RSocket documentation, WebFlux, also wrote my simple examples, but I would like to see a real CRUD application using basic methods…
Kirill Sereda
  • 469
  • 1
  • 10
  • 25
4
votes
3 answers

Correct usage of LoadbalanceRSocketClient with Spring's RSocketRequester

I'm trying to understand the correct configuration and usage pattern of LoadbalanceRSocketClient in a context of SpringBoot application (RSocketRequester). I have two RSocket server backends (SpringBoot, RSocket messaging) running and configuring…
maximdim
  • 8,041
  • 3
  • 33
  • 48
3
votes
1 answer

rsocket - how to balance the load

rsocket seems to be a cool idea. I have this question and I could not find a better answer. Lets consider this initial set up. client sends multiple requests to the server-1 sequentially. client --> server-1 server-1 is doing some compute intensive…
RamPrakash
  • 2,218
  • 3
  • 25
  • 54
2
votes
1 answer

RSocket and Spring not handle multiple requests

I play with RSocket together with Spring boot. I want to make simple request-response example. As example I took code from this link: https://www.baeldung.com/spring-boot-rsocket#request-response Source…
sadsax
  • 93
  • 1
  • 5
2
votes
0 answers

rsocket can't run separate tab in my browser

I have a demo app front-end using angular. I'm using Rsocket and resumeable for the community with my server-side (spring-boot). It runs very well when I open a single tab in my browser but when I open a new tab while the current tab still keeps…
2
votes
1 answer

Parallel requests from one client processed in series in RSocket

I expect that all invocations of the server will be processed in parallel, but it is not true. Here is simple example. RSocket version: 1.1.0 Server public class ServerApp { private static final Logger log =…
2
votes
1 answer

Is it possible to broadcast with RSockets?

My question: I have implemented RSockets on my back-end (java spring boot) and on my front-end (React.js). My front-end and back-end are able to communicate. However, I would like to know if it is possible to broadcast messages to multiple connected…
August Jelemson
  • 962
  • 1
  • 10
  • 29
2
votes
0 answers

Chat Application using Spring boot RSocket

I am using Spring boot 2.5.0 with the react front end. Trying to use RSocket for building a chat application. Came across the following links. But, still not clear on sending message to a particular user. RSocket doc…
user1578872
  • 7,808
  • 29
  • 108
  • 206
2
votes
2 answers

RSocket Java Spring @AuthenticationPrincipal with JWT

How can we use @AuthenticationPrincipal with a RSocket Method @AuthenticationPrincipal Mono token public Mono uppercase(String s, @AuthenticationPrincipal Mono token) { //Token is always null …
dk-it
  • 21
  • 2
2
votes
1 answer

Java RSocket client connect with Spring RSocket channel

I have simple Spring boot RSocket service @MessageMapping("msend") public Flux msend(String message) { log.info("msend channel publish " + message); return Flux.just(message, " "+System.currentTimeMillis()); } It…
Armen Arzumanyan
  • 1,939
  • 3
  • 30
  • 56
2
votes
1 answer

RSocket: Local and remote state disagreement

Enough stable system handles ~5 thousand WS requests per day and the 1%(~50 connections) connections are closing on an error with the next exception: during the resume process, we have a disagreement during the frames removing. Did someone face this…
2
votes
1 answer

RSocket Js client not getting elements generated from a Spring Boot RSocket Server

Sample project available on Github: https://github.com/codependent/rsocket-rating-service A Spring Boot RSocket server message mapping expects a requestResponse request, returning a simple POJO: @MessageMapping("request-rating") fun…
codependent
  • 23,193
  • 31
  • 166
  • 308
2
votes
2 answers

RSocket not working when secured with TLS - server java.lang.UnsupportedOperationException - client java.nio.channels.ClosedChannelException

UPDATE I've uploaded a sample project to Github where you can reproduce the problem. Check the instructions in the readme. I have an RSocket Server that is available for request streams, generating a Flux with n random numbers: class…
codependent
  • 23,193
  • 31
  • 166
  • 308
1
2 3