To modify API of generating gobally unique ID, and provide alternatives of gobally unique ID generator for users now is planned to start.
Here are the main tasks of this plan: - 1. Modify the type of returned value of keyGenerator from Number to Comparable<?>. - 2. Support to set or get properties for keyGenerator by all kinds of configuration files, e.g. yaml or springboot. - 3. Modify API of keyGenerator for Sharding-JDBC and Sharding-Proxy - 4. Besides Snowflake, implement other popular keyGenerator algorithms for ShardingSphere, e.g. Leaf[1] or UUID. [1] https://tech.meituan.com/MT_Leaf.html The first task has been done, please refer to https://github.com/sharding-sphere/sharding-sphere/pull/1724. Any suggestions, please reply to this email. --------------------------------- Juan Pan (Trista) Apache ShardingSphere