You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/03/17 12:34:20 UTC
[GitHub] [incubator-shardingsphere] kimmking edited a comment on issue
#4703: OrchestrationShardingDataSource LOGIC_SCHEMA_NAME issue
kimmking edited a comment on issue #4703: OrchestrationShardingDataSource LOGIC_SCHEMA_NAME issue
URL: https://github.com/apache/incubator-shardingsphere/issues/4703#issuecomment-600045805
@odyssey1816 you can use examples codes,
org.apache.shardingsphere.example.orchestration.raw.jdbc.JavaConfigurationExampleMain
in incubator-shardingsphere\examples\sharding-jdbc-example\orchestration-example\orchestration-raw-jdbc-example
Set loadConfigFromRegCenter = true; // in line 51. And run it.
This jdbc-demo will write it's configuration to zk server, the logic_db zk node path is just the same with proxy.
![image](https://user-images.githubusercontent.com/807508/76856388-20040300-688e-11ea-8760-b99ebcec1336.png)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services