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 answers
Related Questions in SPRING-BATCH-ADMIN
- Running multiple instances of spring batch job in parallel
- Creating a Generic Utility for JDBCItemReader in a Multi-Step Spring Batch Application with @StepScope
- How to make the JobRegistry contain the job information on server restart in spring batch
- Spring batch 5: how to invoke a particular job from commandline?
- Spring Batch Can we have in memory for batch job and application have other data source
- Spring Batch - How to dynamically invoke a Step Configuration to reinitialise partitioner instance
- How to integrate Spring Cloud Data Flow with Spring Boot Admin for batch applications monitoring?
- In Spring boot batch, should the itemWriter, itemProcessor, itemWriter be step-scoped?
- DataSourceTransactionManager bean not created after Introducing Spring Batch @EnableBatchProcessing Annotation
- Spring Batch - Need help and suggestion to decide on the best approach to compare two different Databases and create an excel report with differences
- Set job name in Spring Batch Test
- In Spring Batch, linked with a ItemReader call I want to call a static util method to populate a string
- Spring Batch- how to pass list of multiple items from input to ItemReader, ItemProcessor and ItemWriter
- How to integrate Spring Batch ( without Spring Boot ) with Spring Cloud Data Flow Server
- FlatFileItemWriter - Writer must be open before it can be written to
Related Questions in SPRING-CLOUD-DATAFLOW
- How can I make task to reuse all of the properties from previous successful run in Spring Cloud DataFlow
- Getting "CF-InvalidAuthToken(1000): Invalid Auth Token" while launching the tasks in Spring Cloud Data Flow 2.11.1
- running maven task on spring cloud data flow in kubernetes platform
- spring-cloud-dataflow 2.11.2
- SCDF server gets "connection refused" when connecting to skipper
- Not Able to Register app using SCDF 2.11.2 Dashboard UI due to one mandatory field (Spring boot version) which is disabled in my Application
- Spring Cloud DataFlow - SpringBoot3 not showing stats of execution
- Deploying java 17 apps on Spring cloud data flow 2.9.6
- Spring Cloud Data Flow jar task on kubernetes
- Is spring-cloud-dataflow-rest-client with Spring Boot 3 support already available?
- Not able to to establish Github Oauth2 authentication for Spring cloud dataflow
- Trying to update Spring Cloud Dataflow v2.9.4 to 2.11.2 on Pivotal CloudFoundry but getting errors during deployment
- SCDF UI doesnt override the properties either in the property or in argument section
- spring-cloud-dataflow UI timezone use only UTC?
- SCDF Adds additional Cloud Foundry specific Props on a K8s install
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?
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)
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.