org.springframework.boot.rsocket.netty.NettyRSocketServerFactory#createTransport

Currently there are methods to configure the RSocketServer which is created by the factory, via e.g. setRSocketServerCustomizers.. However, as far as I can tell, there is no way to customize the Transports (TCP, Websocket) objects created by the factory.

My use case is that I want to enable metrics for the TcpServer used by RSocket, by calling it on the server before it's passed to the RSocket constructor.

Exposing a TransportFactoryCustomizer just like org.springframework.boot.web.server.WebServerFactoryCustomizer does seems like reasonable solution.