linghengqian commented on issue #29657:
URL: 
https://github.com/apache/shardingsphere/issues/29657#issuecomment-1879672047

   - This only requires reading the YAML content when implementing the 
`org.apache.shardingsphere.driver.jdbc.core.driver.ShardingSphereURLProvider` 
SPI, and then replacing it with system variables. 
   
   - The SPI of 
`org.apache.shardingsphere.driver.jdbc.core.driver.ShardingSphereURLProvider` 
provides the ability to dynamically read YAML files, but after reading the 
file, the configuration will still overwrite the metadata of the local or 
remote registry according to the configuration of `Mode` Config. For a simple 
example, refer to 
https://github.com/apache/shardingsphere-plugin/tree/main/jdbc%2Fdriver%2Fapollo
 . 
   
   - This is actually a hidden subtask of #29052 , because the integration of 
testcontainers-java cannot always use a fixed port, and a dynamic YAML 
configuration method needs to be provided.
   
   - Considering that the Christmas holidays are not over yet, does your 
raising of the current issue mean that you are ready to submit a PR?


-- 
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]

Reply via email to