How to listen for new records in database with Sequelize?

317 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 answers

0
Joshua Pchumba On

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