You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/05/26 16:38:02 UTC

[GitHub] [shardingsphere] Akitata opened a new issue #10494: Can sharding-sphere scaling use a more semantic parameter format ?

Akitata opened a new issue #10494:
URL: https://github.com/apache/shardingsphere/issues/10494


   ### Is your feature request related to a problem?
   
   In https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-scaling/usage/
   
   When we want to create a job,  the parameters of the scaling http api must use a yaml format field in the json body,
   
   In most cases, the source yaml config is complex, because the yaml in this json is difficult to format and yaml has strict indentation rules, so it is difficult to modify
   
   This greatly increases the probability of my modifying the configuration to produce errors
   
   ### Describe the feature you would like.
   
   I suggest that all parameters be submitted in a json format and be converted to yaml format required by the server logic.
   
   Or upload a pure yaml file to the http api to start the job, like 
   
   `curl -F "sourceParameter=@source.yml" -F "jobConfigurationConcurrency=3"  -X POST "http://localhost:8888/scaling/job/start"`
   


-- 
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:
users@infra.apache.org



[GitHub] [shardingsphere] sandynz closed issue #10494: Can sharding-sphere scaling use a more semantic parameter format ?

Posted by GitBox <gi...@apache.org>.
sandynz closed issue #10494:
URL: https://github.com/apache/shardingsphere/issues/10494


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] tristaZero commented on issue #10494: Can sharding-sphere scaling use a more semantic parameter format ?

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #10494:
URL: https://github.com/apache/shardingsphere/issues/10494#issuecomment-851239705


   Hi @avalon5666 AFAIK, `DistSQL` for `Scaling` is supported now. Maybe you can give them a look and see whether they are in our expectation.


-- 
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:
users@infra.apache.org



[GitHub] [shardingsphere] avalon5666 commented on issue #10494: Can sharding-sphere scaling use a more semantic parameter format ?

Posted by GitBox <gi...@apache.org>.
avalon5666 commented on issue #10494:
URL: https://github.com/apache/shardingsphere/issues/10494#issuecomment-849447001


   Currently, scaling priority support the elastic scaling for shardingsphere, so reuse the configuration of shardingsphere, use scaling by [shardingsphere ui](https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-ui/) is now recommended.
   Hum, may support DistSQL in the future, or refactor the api for more common scenarios
   I'll let you know if we have a more definite plan, Thanks for your suggestion again


-- 
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:
users@infra.apache.org



[GitHub] [shardingsphere] Akitata commented on issue #10494: Can sharding-sphere scaling use a more semantic parameter format ?

Posted by GitBox <gi...@apache.org>.
Akitata commented on issue #10494:
URL: https://github.com/apache/shardingsphere/issues/10494#issuecomment-927979711


   > Hi @Akitata , we're developing new API, it should be release in 5.0 which is planned to release after 1 month.
   
   Nice!  Looking forward to seeing it in the new version! 


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] tristaZero commented on issue #10494: Can sharding-sphere scaling use a more semantic parameter format ?

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #10494:
URL: https://github.com/apache/shardingsphere/issues/10494#issuecomment-849432830


   Hi @Akitata thanks for your suggestion.
   
   @Lucas-307 @avalon566 Does anyone have any idea about this one?


-- 
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:
users@infra.apache.org



[GitHub] [shardingsphere] avalon5666 commented on issue #10494: Can sharding-sphere scaling use a more semantic parameter format ?

Posted by GitBox <gi...@apache.org>.
avalon5666 commented on issue #10494:
URL: https://github.com/apache/shardingsphere/issues/10494#issuecomment-851764131


   @Akitata Hi, What are your use scenarios? I can provide some support.


-- 
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:
users@infra.apache.org



[GitHub] [shardingsphere] sandynz commented on issue #10494: Can sharding-sphere scaling use a more semantic parameter format ?

Posted by GitBox <gi...@apache.org>.
sandynz commented on issue #10494:
URL: https://github.com/apache/shardingsphere/issues/10494#issuecomment-927813481


   Hi @Akitata , we're developing new API, it should be release in 5.0 which is planned to release after 1 month.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org