spring-cloud-rsocket
spring-cloud-rsocket copied to clipboard
PendingRSocket created accidentally
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.