<p>Small question regarding how to convert http requests into RSocket please.</p>
<p>The server setup is a very straightforward RSocket server.
The server is dockerized and deployed in Kubernetes.</p>
<p>Now there are many clients, I do not have control over them. The clients would like to talk to this RSocket server. The JSON payload the clients sends are all compatible with the RSocket server. However, all clients are just using http clients, not RSocket.</p>
<p>May I ask what is the easiest solution to convert the https requests send from the clients please?</p>
<p>What I tried: Built a layer in between, using Spring Cloud Gateway to take as input a http request, and forward it using a RSocket client.</p>
<p>The drawback of this solution is that there is now another app in the picture. Instead of maintaining one business RSocket application, there is a need to implement and maintain another web server entirely.</p>
<p>May I ask if there is some kind of sidecar pattern using maybe ngnix, istio, Kubernetes services, that can perform the same, without having to full blown develop another web app please?</p>
<p>May I ask what is the easiest solution to convert the https requests send from the clients please?</p>
<p>Thank you</p>

PatPanda
<blockquote>
<p>May I ask if there is some kind of sidecar pattern using maybe ngnix, istio, Kubernetes services, that can perform the same, without having to full blown develop another web app please?</p>
</blockquote>
<p>No, The concept maybe called broker gateway but not sidecar pattern. You should implements a broker gateway to conevert the protocol, such as HTTP(Rest), GraphQL, gRPC. You can refer a sample project <a href="https://github.com/alibaba/alibaba-rsocket-broker" rel="nofollow noreferrer">alibaba-rsocket-broker</a>.</p>
