spring-cloud-rsocket icon indicating copy to clipboard operation
spring-cloud-rsocket copied to clipboard

PendingRSocket created accidentally

Open harry-hao opened this issue 6 years ago • 0 comments

I am using ... Spring Boot: 2.2.0-BUILD-SNAPSHOT Spring Cloud: Hoxton.BUILD-SNAPSHOT Spring Cloud RSocket: 0.2.0.BUILD-SNAPSHOT Sample project: here

Step to reproduce:

  • start gateway1
  • start gateway2 with broker set to gateway1
  • a pendingRSocket is created but not used.

It looks like GatewayRSocket::findRSocketOrCreatePending is calling createPending() before findRoute() complete, I think this do.

harry-hao avatar Nov 17 '19 17:11 harry-hao