jerryshao commented on code in PR #5110:
URL: https://github.com/apache/gravitino/pull/5110#discussion_r1799136039
##########
core/src/main/java/org/apache/gravitino/listener/EventBus.java:
##########
@@ -35,25 +37,45 @@ public class EventBus {
// which are meant for synchronous event listening, or AsyncQueueListener,
designed for
// asynchronous event processing.
private final List<EventListenerPlugin> postEventListeners;
+ // Only contain sync EventListenerPlugins.
+ private final List<EventListenerPlugin> preEventListeners;
Review Comment:
Why do we need to have 2 listeners for pre and post event separately?
--
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]