QueryDatabaseTable processor provides to capture inserts. Is it possible to get updates and deletes without a trigger or postgresql solution?
There's a MySQL CDC processor in NiFi (CaptureChangeMySQL) but no native CDC solution for PostgreSQL currently. You can capture updates by using and updating a timestamp field together with QueryDatabaseTable. Delete are harder to get, you can use logical delete with delayed hard delete to let NiFi get them before. Another option is to use external CDC solution like Attunity.
I hope this helps
Thanks @Abdelkrim Hadjidj.
Do you mean software delete by logical deleting? (Not actually delete, update some fields)
Are there any native solution for mongodb or cassandra?
What do you think about using triggers? (writing insert,delete,update records to a table)