liming30 opened a new issue, #959:
URL: https://github.com/apache/incubator-paimon/issues/959

   ### Search before asking
   
   - [X] I searched in the 
[issues](https://github.com/apache/incubator-paimon/issues) and found nothing 
similar.
   
   
   ### Motivation
   
   At present, Paimon's commit behavior is not perceived by the outside world, 
but in some scenarios, especially platform-based scenarios, we may need to 
monitor Paimon's commit behavior to decide when to perform a compaction.
   
   You may ask why not use Paimon's automatic compaction? When we used Flink 
for streaming computing, `RocksDBStateBackend` would also perform compaction 
periodically, which would cause periodic spikes in CPU usage, which is very 
unfriendly to streaming computing. The behavior of compaction will compete with 
computing tasks for CPU, and usually the CPU usage of compaction is high, but 
the duration is short, resulting in low resource utilization. 
   
   Therefore, separating the compaction behavior from the streaming job and 
letting an external platform take charge of the compaction will improve 
resource utilization and be more friendly to streaming computing.
   
   ### Solution
   
   Add a listener for Paimon's commit behavior. This listener supports 
user-defined extensions, such as reporting to external services through the 
rest api.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


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

Reply via email to