Comments (4)
In fact, for SingleJob
the best way would be to replace
public JobMetadata getMetadata() {
return delegate.getMetadata();
}
with
public JobMetadata getMetadata() {
return merge(execution.getParams(), delegate.getMetadata());
}
from bootique-job.
This seems to muddle the distinction between job singleton parameters and parameters of a given job run. Whether this is important or not, I have no idea yet.
from bootique-job.
After discussing offline, it actually makes sense, as "execution" is simply a param set.
from bootique-job.
While this issue is still something that we will need to address, it begs a bigger question on the distinction between a job and an execution, and will probably result in refactoring Job
API (e.g. base metadata can be gathered from annotations, while execution metadata may be passed to the "run" method). So closing this task, as we won't be implementing it as described.
from bootique-job.
Related Issues (20)
- Job listeners are not notified when a job throws an exception
- Jobs with dependencies and job groups cause deadlocks on pool starvation HOT 3
- Job group to reuse the group dispatch thread when possible
- @SerialJob should be part of the Job metadata
- Reorg JobFuture hierarchy HOT 1
- Refactoring to classic module layout
- Upgrade Consul client to 1.5.3
- Unify job decoration approach
- Package reorg
- Add job dependencies to the JobMetadata
- Unify configuration of jobs and groups
- Distinguish between repeating and unique jobs in job graphs
- ExecCommand status reporting: "message: null"
- NPE during registry startup when a job with dependencies delcares params
- Refactor JobModule into two module classes within the same jar
- bootique-job: remove optional dependency on curator ZK client
- TriggerFactory should create a mutable parameters map
- Failure in JobListener must fail the job
- Enhanced API for job parameters
- Support passing parameters to jobs via CLI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootique-job.