sandynz commented on pull request #14842:
URL: https://github.com/apache/shardingsphere/pull/14842#issuecomment-1015033225


   Thanks.
   
   Verified, it works.
   
   ```
   mysql> SHOW SHARDING SCALING RULES;
   
+-----------------+----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+--------------------------------------------------------+-------------------------------------------------------------------------+-----------------------------------------------------+
   | name            | input                                                    
                              | output                                          
                                         | stream_channel                       
                  | completion_detector                                         
            | data_consistency_checker                            |
   
+-----------------+----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+--------------------------------------------------------+-------------------------------------------------------------------------+-----------------------------------------------------+
   | default_scaling | 
{"workerThread":40,"batchSize":1000,"rateLimiter":{"type":"QPS","props":{"qps":50}}}
   | 
{"workerThread":40,"batchSize":1000,"rateLimiter":{"type":"TPS","props":{"tps":2000}}}
   | {"type":"MEMORY","props":{"block-queue-size":1000}}    | 
{"type":"IDLE","props":{"incremental-task-idle-minute-threshold":1}}    | 
{"type":"DATA_MATCH","props":{"chunk-size":1000}}   |
   | scaling_name1   |                                                          
                              |                                                 
                                         |                                      
                  | 
{"type":"IDLE","props":{"incremental-task-idle-minute-threshold":"30"}} | 
{"type":"DATA_MATCH","props":{"chunk-size":"1000"}} |
   | scaling_name2   | 
{"workerThread":40,"batchSize":1000,"rateLimiter":{"type":"QPS","props":{"qps":"50"}}}
 | 
{"workerThread":40,"batchSize":1000,"rateLimiter":{"type":"TPS","props":{"tps":"2000"}}}
 | {"type":"MEMORY","props":{"block-queue-size":"10000"}} | 
{"type":"IDLE","props":{"incremental-task-idle-minute-threshold":"30"}} | 
{"type":"DATA_MATCH","props":{"chunk-size":"1000"}} |
   | scaling_name3   | 
{"workerThread":40,"batchSize":1000,"rateLimiter":{"type":"QPS","props":{"qps":"50"}}}
 | 
{"workerThread":40,"batchSize":1000,"rateLimiter":{"type":"TPS","props":{"tps":"2000"}}}
 | {"type":"MEMORY","props":{"block-queue-size":"10000"}} |                     
                                                    |                           
                          |
   
+-----------------+----------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------+--------------------------------------------------------+-------------------------------------------------------------------------+-----------------------------------------------------+
   4 rows in set (0.01 sec)
   ```
   


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