Same data read by PCF instances for spring batch application -


i working on spring batch application,which read data data base using jdbccursoritemreader,this application working expected when run single instance.

i deployed application in pcf , used auto scale feature, multiple instances retrieving same record data base.

how can prevent duplicate data reads other instances?

this handled applying processed indicator pattern. in pattern, have additional field on each row mark status each record processed. use query filter records match status care about. in case, status node specific node selects records node tags.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

minify - Minimizing css files -

php - How to remove letter in front of the word laravel -