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/01/21 02:44:08 UTC

[GitHub] [shardingsphere] zjcnb commented on a change in pull request #14958: Add use SPI steps for proxy startup.

zjcnb commented on a change in pull request #14958:
URL: https://github.com/apache/shardingsphere/pull/14958#discussion_r789306060



##########
File path: docs/document/content/user-manual/shardingsphere-proxy/startup/bin.cn.md
##########
@@ -45,6 +45,9 @@ weight = 1
 当用户需要使用自定义的算法类时,可通过以下方式配置使用自定义算法,以分片为例:
 
 1. 实现 `ShardingAlgorithm` 接口定义的算法实现类。
+1. 在项目 resources 目录下创建 META-INF/services 目录。
+1. 在 META-INF/services 目录下新建文件 org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
+1. 将实现类的绝对路径写入至 文件 org.apache.shardingsphere.sharding.spi.ShardingAlgorithm

Review comment:
       Ok, i will adjust 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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org