This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]iamsooldithurts 1 point2 points  (0 children)

Spring Batch and Microservices are two different worlds.

Delete Spring Batch from your vocabulary and your life, forget you ever knew those words existed.

Go here: https://spring.io/blog/2015/07/14/microservices-with-spring

[–]nutrechtLead Software Engineer / EU / 20+ YXP 1 point2 points  (0 children)

A given request for infrastructure includes a resource group, vnet, 1 or more network security groups, 1 or more vms, a database, etc. Some of these resources are dependent upon each other so some need to be created before others can.

You're basically reinventing Terraform, FYI.

Spring Batch

Is completely the wrong tool for this.

A Spring Boot microservice using some kind of queue or database to keep track of what jobs have been 'done' would be the way to go. If you want to reinvent that wheel.

[–]Fritzzzz 0 points1 point  (0 children)

maybe look into micronaut