Closed
Description
As of spring-projects/spring-framework#22767, Spring Framework supports CBOR as a codec for single values. This binary format is a good candidate for default inclusion with the RSocket starter.
-
is this codec ready for such a commitment on both client and server for RSocket? It seems that it's not the case yet for WebFlux (see spring-projects/spring-framework/issues#20513).
-
Right now, Jackson+JSON is the default codec configured as an RSocket strategy.
Looking at the current behavior in DefaultRSocketRequesterBuilder, it seems that the requester is choosing automatically the first concrete media type. Should Spring Boot consider auto-configuring a single codec then (i.e. should we remove JSON and have CBOR instead)?