I am using Spring batch to run one job , which read record from one table from DB , In writer its push the record to kafka and update the same record in table with processed status.
As soon as Job get started , CPU utilization goes from 40 to 80 %.
we are using jdbccursoritemreader to read record.
Can anyone help to understand what could be the reason behind.
Added some more details: DB is in live that why it stays around 30-40 %. its SQL server DB, using spring batch framework with cron expression , Job gets triggered . jdbccursoritemreader is reader from spring batch that simple select query on flag condition from table having data around 60k record. Application runs in open shift and DB is in different server