I have a basic spring batch app that runs on embedded Apache Tomcat in spring boot. I need to add spring admin capabilities to it. As per latest spring docs, I need to use spring cloud data flow to do this (https://docs.spring.io/spring-batch-admin/). So now I need to use spring cloud dataflow and integrate my spring batch app on local server. I just want it to run on my local machine under tomcat without deploying it to any cloud environments like cloud foundry or openshift. Is it possible? I am sure its possible. I would like to get some references/Examples on this type of integration and starter guide integrating spring batch app. Do I need to create tasks in spring cloud data flow to run my spring batch app? If there are any sample examples/pseudo code to guide me then it would be easy.
Spring Batch integration with spring cloud data flow on local server to add spring admin capabilities
3.5k Views Asked by karthik At
1
There are 1 best solutions below
Related Questions in SPRING-BATCH-ADMIN
- Load additional property file in spring batch admin
- How to enable authorization with the Spring Batch Admin UI
- Convert non-launchable job to launchable job in Spring Batch Admin
- How to integrate spring batch admin console
- Spring Batch - MongoDB to XML - Caused by: java.lang.IllegalStateException: A type to convert the input into is required
- Cannot convert value of type 'org.springframework.batch.item.xml.StaxEventItemWriter' to required type 'org.springframework.batch.item.ItemReader'
- org.springframework.dao.DataAccessResourceFailureException: Unable to write to file resource: [class path resource [report.xml]]; Spring Batch
- Data is not written into the XML file from mongodb using Spring Batch, Why?
- Unable to start a spring boot web application with spring batch admin
- Bath command file path format
- Is there a way to integrate spring-batch-admin and spring-boot properly?
- Spring Batch Caused by: java.lang.IllegalStateException: Existing transaction detected in JobRepository
- customize the path of job files in spring batch admin manager
- Migrating from spring-batch-admin to spring cloud dataflow
- Spring Batch integration with spring cloud data flow on local server to add spring admin capabilities
Related Questions in SPRING-CLOUD-DATAFLOW
- Does Spring Cloud Dataflow Local Server need to connect zookeeper?
- Spring Cloud DataFlow - How to use a custom TCP encoder/decoder in TCP source
- Advantage of using Spring cloud data flow instead of spring batch
- PCFDev Spring Cloud Data Server app import failes
- How to build Spring Cloud Stream JMS ActiveMQ
- Understanding Spring Cloud Stream content types
- Migrating from spring-batch-admin to spring cloud dataflow
- Spring Cloud Stream header enricher circular reference and NPE
- Spring Cloud Dataflow server - deployed streams ended up in unknown state
- spring-data-flow task example
- Dynamically change a Source parameters
- Scheduling a composed task
- cloud foundry spring cloud data flow server security configuration
- Redis Connection failure exception received when trying to run Spring-cloud-data-flow server in docker container
- spring cloud data flow server cloud foundry redirect to https
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As described in the migration-guide, you can use the "local" variant of Spring Cloud Data Flow (SCDF) as a replacement to Spring Batch Admin (SBA).
SCDF is a simple Spring Boot application that you can run it as a standalone Java process similar to how you're running the application today.
Also, as described in the migration-steps, you'd have to port your existing batch workload to Spring Cloud Task model, and that should be a straightforward process - use this Spring Batch sample. To the most part, you'd copy/paste the business logic into a Spring Cloud Task application and all the infrastructure including schemas, repository, and other batch goodies will continue to work. There are few complex implementations in task-app-starers, which can be used as a reference, too.
Lastly, you can use SCDF's dashboard for monitoring and management.