youngMvcBrother commented on issue #22746:
URL: 
https://github.com/apache/shardingsphere/issues/22746#issuecomment-1348041613

   > Sorry, we are a production environment, is there any alternative plan now 
@sandynz
   
   @1210958801 
   
   **My Solution;Can I help you?**
   
   add configure
   ```yaml
       defaultKeyGenerateStrategy:
         column: user_id
         keyGeneratorName: snowflake
   ```
   
   
   **issues source:**
   _org.apache.shardingsphere.sharding.rule.ShardingRule_ instantiation; 
generate DefaultKeyGenerateStrategy overrides SnowflakeKeyGenerateAlgorithm;
   **when generating DefaultKeyGenerateStrategy , prop is null;**
   **If DefaultKeyGenerateStrategy  is set, it will not be overwritten.**
   
   
![image](https://user-images.githubusercontent.com/13623260/207279184-512204be-7139-46d6-8f9c-f43fb2982473.png)
   
   
   


-- 
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]

Reply via email to