RaigorJiang commented on issue #8330:
URL: https://github.com/apache/shardingsphere/issues/8330#issuecomment-738645597
Hi all:
Because the precise sharding method and range sharding method are both in
standard sharding algorithm interface now,
I remove the 'preciseAlgorithmClassName' and 'rangeAlgorithmClassName'
variables, and unified as "algorithmClassName". So finally the configuration
format is :
> #
shardingAlgorithms:
<sharding-algorithm-name>:
type: CLASS_BASED
props:
strategy: standard
algorithmClassName: org.xxx.example.StandardShardingAlgorithm
<sharding-algorithm-name>:
type: CLASS_BASED
props:
strategy: complex
algorithmClassName: org.xxx.example.ComplexKeysShardingAlgorithm
<sharding-algorithm-name>:
type: CLASS_BASED
props:
strategy: hint
algorithmClassName: org.xxx.example.HintShardingAlgorithm
# ...
----------------------------------------------------------------
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]