February 21, 2021 in Developer Connection
I wanted to know if IPS uses any kind of solution such a kafka to listen/react to database changes and trigger events.
Basically, I want to trigger certain actions when particular changes in the DB occur. But it's much cleaner to use a system like kafka to just wait for the changes, rather than have to manually trigger them all over the place in code. Does IPS have such a functionality in place?
Not exactly, however
1) You could register MySQL Triggers directly if you wanted.
2) You could create a hook which hooks in at a low level, e.g. to the active record save() method, or even to the database class directly.
It really depends on what you are after.
Started Sunday at 10:38 PM
Started May 17, 2023
Started 11 hours ago