FANNG1 commented on PR #6250:
URL: https://github.com/apache/gravitino/pull/6250#issuecomment-2680190183

   > Just took a quick glance over the eventing code base ... and I got a 
question. Given that we want to emit events for every operation on every 
entity, the current case-by-case implementation is problematic. It doesn't 
scale well.
   > 
   > Driven by this observation, I'm thinking if this can be drastically 
simplified. For example, we can use a handful of abstractions rather than tens 
of them to model events. Maybe we simply don't need all the fields in every 
event? I mean we can have a gemeroc `link` field pointing to the URI of the 
relevant object?
   
   Yes, adding events one by one for all operations is painful. This is a 
trade-off, in this one-by-one way, the user could handle the event more 
flexibly, and if do with some general abstraction, we may lose some specific 
information in the event, any suggestions?


-- 
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: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to