GithubHelp home page GithubHelp logo

Questions about Trooper about trooper HOT 2 CLOSED

regunathb avatar regunathb commented on June 28, 2024
Questions about Trooper

from trooper.

Comments (2)

regunathb avatar regunathb commented on June 28, 2024

You are right, Trooper does allow you to deploy jobs (job binaries, config and dependency binaries) on the fly and not require a restart of the console/app. It also has the ability to propagate these deployments across a cluster, if you use the batch-HA mode.

All of these are however done on a per-job basis. We prefer it this way as we can maintain job specific config files, classpaths and eventually job-specific Spring application contexts.
The feature for uploading data files has been disabled/removed for this reason.

The good news however is that we use Spring MVC and Http GET/POST to retrieve/update job configurations and dependencies. It is therefore quite possible to add another method in the controller with appropriate @RequestMapping to receive and process a "fat" jar that follows the structure that you have described. The controller can unpack the jar and deploy jobs individually as is done currently.

Is this something you might consider implementing? The code is reasonably contained and is in org.trpr.platform.batch.impl.spring.web.JobConfigController

(https://github.com/regunathb/Trooper/blob/master/batch-core/src/main/java/org/trpr/platform/batch/impl/spring/web/JobConfigController.java)

from trooper.

regunathb avatar regunathb commented on June 28, 2024

Closing this issue as it is not a feature we want to implement now.

from trooper.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.