How to listen for new records in database with Sequelize?

326 Views Asked by At

I have a PostgreSQL database with Sequelize ORM and I want to listen for new entries. How should I do? Should I use Sequelize afterCreate hook? Can someone help me?

1

There are 1 best solutions below

0
On

That's tricky the solution would be streaming. Either Apache Kafka.