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 2022/11/30 13:23:27 UTC
[GitHub] [shardingsphere] RaigorJiang commented on a diff in pull request #22542: Refactor cluster-mode-example with ShardingSphereDriver
RaigorJiang commented on code in PR #22542:
URL: https://github.com/apache/shardingsphere/pull/22542#discussion_r1035963643
##########
examples/shardingsphere-jdbc-example/single-feature-example/cluster-mode-example/cluster-mode-spring-boot-mybatis-example/src/main/resources/application-cloud-zookeeper-readwrite-splitting.properties:
##########
@@ -15,7 +15,5 @@
# limitations under the License.
#
-spring.shardingsphere.mode.type=Cluster
-spring.shardingsphere.mode.repository.type=ZooKeeper
-spring.shardingsphere.mode.repository.props.namespace=demo_spring_boot_readwrite_ds
-spring.shardingsphere.mode.repository.props.server-lists=localhost:2181
+spring.datasource.driver-class-name=org.apache.shardingsphere.driver.ShardingSphereDriver
+spring.datasource.url=jdbc:shardingsphere:classpath:cloud-zookeeper-rewrite-spitting.yaml
Review Comment:
`rewrite-spitting` -> `readwrite-splitting`
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org