Skip to content

Expand configurable parameters for RSocketServer #22116

@conteit

Description

@conteit

I've noticed that by now it is only possible to configure a few parameters of RSocket Server (maybe also for RSocketCilent?) via Configuration Properties: address, port, transport type and mapping-path (in case of WebSocket transport).

I've made some experiment on my own and wanted to setup an rsocket server over TCP with SSL and fragmentation. The only way I've found was to:

  • create an alternative NettyRSocketServerFactory in order to add SSL configuration
  • and, manually create the NettyRSocketServerFactory bean in order to register a rSocketServer customizer

I think that could exists a simpler way to make these customizations:

  1. Define injectable strategies that get inject in NettyRSocketServerFactory for configuring those details
  2. or, enhancing configuration properties in order to cover them without requiring tweaking with NettyRSocketServerFactory
  3. or, thinking of a Configurer class that provide some customization points and that is used while bootstrapping the NettyRSocketServerFactory

I'm happy to try implementing the solution you prefer, if it could help (maybe with some help since it's the first time I propose to contribute).

Metadata

Metadata

Assignees

Labels

status: supersededAn issue that has been superseded by another

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions