I'm currently developing a channel from Database reader to Database writer. Both the source and destination connectors are running on SQL server.
The problem is that by setting Interval in source to 5 milliseconds, the channel polls and write data every 5 milliseconds, even if the data has been polled or written before.
For example, if there is only one row in the source database, the channel will keep inserting the one row into the destination database every 5 milliseconds infinitely. This results in infinite duplicate rows in the destination database.
Is there any way to avoid such situation and only insert into destination only if the data polled is new?