william-p commented on PR #1512: URL: https://github.com/apache/answer/pull/1512#issuecomment-4031240423
Today each queue has a single consumer (e.g. only the badge system listens to the event queue), but the event queue is fed by ~15 call sites across the codebase (question/answer/comment CRUD, votes, user updates…). This makes it a natural event bus that additional consumers — audit logging, search reindexing, cache invalidation, analytics — should be able to hook into without replacing the existing handler. The goal of this PR is to add custom event handler. Was useful for my Webhook feature (https://github.com/william-p/answer/commits/featWebhooks/ / https://github.com/apache/answer/issues/1509) for catching all events of question/answer (and others ...) life cycle. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
