RaigorJiang commented on issue #29780: URL: https://github.com/apache/shardingsphere/issues/29780#issuecomment-1909250341
> > So how to know the sharding value in your custom sharding algorithm? > > Hello, I use Alibaba's `TransmittableThreadLocal` to pass parameters. I saw that `Shardingjdbc` also has this. Is it possible to open two methods, one is to customize the parameters, and the other is to use `HintManager`. The current `doSharding` method needs to receive the param `shardingValue`. According to your description, it may be necessary to add a method that does not require `shardingValue`. I suggest that you describe the design in detail and how it is used, and then submit a PR. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
