I want to use a random int value to start rsocket server, and then use the port number as discovery metadata for serve registry. application.properties as following:
spring.rsocket.server.port=${random.int[1025,65535]}
spring.cloud.consul.discovery.metadata.rsocketPort=${spring.rsocket.server.port}
I think that metadata.rsocketPort
's value should be same with spring.rsocket.server.port
's value. But I found the metadata.rsocketPort
's value is another random int value, and they are different. Is it a bug?
Comment From: wilkinsona
This is a duplicate of #7009. If you would like us to reconsider, please comment on that issue.