stevenzwu opened a new issue #3065:
URL: https://github.com/apache/iceberg/issues/3065


   
   @rdblue @openinx  This forks off the discussion from [this 
comment](https://github.com/apache/iceberg/pull/3001#discussion_r696043749) 
form PR #3001. It tries to publish monitoring metrics (like committed byte 
count, record count, file count) for the Flink writer.
   
   One option is to add a new API to the `SnapshotUpdate` interface. After 
successful commit, caller can retrieve the commit stats. `CommitStats` will be 
a superset of all possible stats. Different `SnapshotUpdate` can fill subset of 
relevant stats.
   ```
   interface SnapshotUpdate { 
     CommitStats commitStats();
   }
   ```
   
   @rdblue you mentioned "publish event". were you referring to publish to 
persistent queue (like Kafka) or in-memory queue (like guava EventBus) or sth 
else?
   


-- 
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]

Reply via email to