pengxianggui commented on issue #23283: URL: https://github.com/apache/shardingsphere/issues/23283#issuecomment-1370365754
> Hi @pengxianggui There is currently no support for such a configuration, do you have any suggestions on how to achieve it? There seems to be no better way, with or without container delivery, deployment now requires overrides of environment variables. The official recommended approach, while concise enough, creates headaches for deployment. I might give up on this and manually assemble (but I have no idea, just manually register a ShardingSphereDataSource is enough? I think it will take quite a while). Of course, I prefer to use traditional spring boot integration, such as the original shardingsphere-jdbc-core-spring-boot-starter. 似乎没有更好的办法了,无论是否容器交付,现在的部署都需要用到环境变量的覆盖。官方推荐的方法虽然足够简洁,但却给部署带来了麻烦。我可能会放弃这个,手动装配(但是我没有思路,只需要手动注册一个ShardingSphereDataSource就够了吗?我想这可能又会耽误不少时间)。当然,我更喜欢使用传统的spring引导集成,比如最初的shardingsphere-jdbc-core-spring-boot-starter, I miss it -- 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]
