Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 21, 20214 yr 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, 20214 yr by Tom S.
February 22, 20214 yr 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.