I have developed a spring batch job which reads from database using JdbcCursorItemReader, process it and writes to kafka topic. The database table returns rows which has same Id