Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Tom S. Posted February 21, 2021 Posted February 21, 2021 (edited) Hi, 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? Thanks Edited February 21, 2021 by Tom S.
bfarber Posted February 22, 2021 Posted February 22, 2021 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. Tom S. 1
Recommended Posts