We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@ElasticJobConf(name = "MySimpleJob", cron = "0/10 * * * * ?", shardingTotalCount = 2, shardingItemParameters = "0=0,1=1", description = "简单任务")
System.out.println("分片参数:" + shardParamter);
分片参数 一直是1
The text was updated successfully, but these errors were encountered:
找到问题原因了:overwrite = true 才可以覆盖新的配置,要不然一直取得第一次写入zk的 配置,哈哈
Sorry, something went wrong.
No branches or pull requests
@ElasticJobConf(name = "MySimpleJob", cron = "0/10 * * * * ?", shardingTotalCount = 2, shardingItemParameters = "0=0,1=1", description = "简单任务")
System.out.println("分片参数:" + shardParamter);
分片参数 一直是1
The text was updated successfully, but these errors were encountered: