I'm new to spring batch. I came across this problem, My application runs every 5mins and read the data from the blob in cloud which has some records and process those records into kafka topic. Problem is, right now its running in single instance where there is no problem but if i plan to run in multiple instances, If the both instances runs same time picks the same records there will be duplicates in the kafka topic because the code base is same. Is there any feature that helps in spring batch to overcome this issue or any other approach that wont create duplicates.
Thanks in advance Vamsi