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/07/13 10:47:41 UTC

[GitHub] [shardingsphere-elasticjob] lwtao opened a new issue #1929: Is there a way for each application node to run a specified number of shards?

lwtao opened a new issue #1929:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1929


   For example, if the application has three nodes and each node is set to run one shard, then the whole cluster will run three shards for the task. When the application expands to five nodes, the system will assign one shard to the new node and the whole cluster will run five shards.  


-- 
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-elasticjob] TeslaCN commented on issue #1929: Is there a way for each application node to run a specified number of shards?

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1929:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1929#issuecomment-880690698


   Hi @lwtao 
   Could you try implements your own `JobShardingStrategy`? You may ignore the `shardingTotalCount` in the Context and sharding as you want.


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