sunnysabor opened a new issue, #6967: URL: https://github.com/apache/shenyu/issues/6967
### Current Behavior Discovery registry implementations such as Eureka and Nacos already read the `props` entry from instance metadata and store it in `DiscoveryUpstreamData.props`. However, when the divide plugin converts `DiscoveryUpstreamData` to runtime `Upstream`, it only reads built-in properties such as `warmup`, `gray`, and `healthCheckEnabled`. Other custom properties are discarded. As a result, custom load balancers cannot access discovery upstream extension properties from `Upstream.getMetadata()`, even though `Upstream` already provides a metadata field. ### Expected Behavior Parsed discovery upstream `props` should be preserved as runtime `Upstream.metadata` during divide upstream conversion. This keeps the existing `props` extension channel and does not introduce full registry metadata passthrough. ### Use Case Custom load balancers should be able to read extension properties such as `az`, `version`, or `grayTag` from `Upstream.getMetadata()` when those properties are provided inside discovery upstream `props`. ### Environment - Apache ShenYu master branch - divide plugin discovery upstream handling -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
