FANNG1 commented on code in PR #5307: URL: https://github.com/apache/gravitino/pull/5307#discussion_r1818894400
########## docs/gravitino-server-config.md: ########## @@ -113,16 +113,23 @@ To leverage the event listener, you must implement the `EventListenerPlugin` int #### Event -Gravitino triggers a specific event upon the completion of the operation, with varying events being generated for different operations. +Gravitino triggers a pre-event before the operation, a post-event after the completion of the operation and a failure event after the operation failed. Review Comment: updated ########## docs/gravitino-server-config.md: ########## @@ -136,7 +143,7 @@ The plugin provides several operational modes for how to process event, supporti - **ASYNC_ISOLATED**: Events are processed asynchronously, with each listener having its own dedicated queue and dispatcher thread. This approach offers better isolation but at the expense of multiple queues and dispatchers. -For more details, please refer to the definition of the plugin. +When processing pre-event, you could throw up `ForbiddenException` to skip the execution of subsequent operation. For more details, please refer to the definition of the plugin. Review Comment: updated -- 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]
