mxm opened a new pull request, #546:
URL: https://github.com/apache/flink-kubernetes-operator/pull/546

   Previous changes removed the required for sources to have the 
`pendingRecords` metric. This allows to refactor and consolidate the source 
scaling code. We remove the option to disable scaling sources because the 
primary motivation was to skip scaling legacy sources. The source scaling logic 
works like this:
   
   * Modern sources (busy time available)
   
   Scale source based on the busy time up. Add extra capacity if the lag
   information, provided by the pending records metric, is available. Otherwise
   assume 0 lag. Cap by the maximum number of partitions, if available.
   
   * Legacy sources (busy time unavailable)
   
   Leave the source parallelism unchanged, use the current processing rate as 
the
   target rate downstream.


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