It was broken apart because we checked if there is anything to commit in the 
first place (ie, do the check on one place)-- if we did not process any data, 
we don't need to commit.

This check now happens outside of `StreamTask` as pointed out by Guozhang 
https://github.com/apache/kafka/pull/5428/files#r212395430 Thus, regrouping 
makes sense. Code is cleaner this way.

[ Full content available at: https://github.com/apache/kafka/pull/5428 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to