childewuque opened a new issue #10397:
URL: https://github.com/apache/shardingsphere/issues/10397
shardingsphere jdbc 5.0.0-alpha
public class DBShardingAlgorithm implements StandardShardingAlgorithm<Long>
resources/META-INF/spring.factories
org.apache.shardingsphere.sharding.api.sharding.standard.StandardShardingAlgorithm=com.test.DBShardingAlgorithm
`database-class-based:
type: CLASS_BASED
props:
strategy: standard
algorithmClassName: com.test.DBShardingAlgorithm
error:
org.apache.shardingsphere.infra.spi.exception.ServiceProviderNotFoundException:
No implementation class load from SPI
`org.apache.shardingsphere.sharding.spi.ShardingAlgorithm` with type
`CLASS_BASED`.
at
org.apache.shardingsphere.infra.spi.typed.TypedSPIRegistry.getRegisteredService(TypedSPIRegistry.java:50)`
So how to config spi ? thanks!
--
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:
[email protected]