Skip to content

Sample code to demonstrate spring-batch remote partition tasks

Notifications You must be signed in to change notification settings

ketangit/spring-batch-partitioned-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Batch Remote Partition demo

Can run locally, Cloud Foundry and Kubenetes  

Running locally

* Run from IDE -> PartitionBatchApplication

Local skaffold build and deploy

mvn clean package
skaffold build
kubectl apply -k kube\kustomize\overlays\minikube
kubectl delete -k kube\kustomize\overlays\minikube

Useful docker/kubectl commands

docker ps
docker images
docker images| grep "spring-batch-partitioned-demo" | tr -s " " | cut -d " " -f 3 | xargs docker image rm -f

kubectl delete pod --field-selector=status.phase==Succeeded
kubectl delete pod --field-selector=status.phase==Pending
kubectl delete pod --field-selector=status.phase==Failed

kubectl logs -f spring-batch-partitioned-demo-ddc7cb76c
kubectl exec -it spring-batch-partitioned-demo-ddc7cb76c bash

kubectl get all

kubectl delete deployment spring-batch-partitioned-demo

Notes

About

Sample code to demonstrate spring-batch remote partition tasks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages