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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -