FANNG1 commented on PR #6485:
URL: https://github.com/apache/gravitino/pull/6485#issuecomment-2823503450
@jerryshao @puchengy , I add a new method in `EventListenerPlugin` to
transform the pre-event, is it the right direction? If yes, I'll do more work
to polish the implementation. thx.
```java
/**
* Transform a preEvent before it is processed by the listener.
*
* <p>This method allows the plugin to modify the preEvent before it is
processed. The sequence
* of the transformations is determined by the event listener
configuration order.
*
* @param preEvent The preEvent to be transformed.
* @return The transformed preEvent.
*/
default PreEvent transformPreEvent(PreEvent preEvent) {
return preEvent;
};
```
--
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]