Just looking at the code, it might be ok to do the check once though:
````
if (commitNeeded) {
   if (eosEnabled) {
       // do stuff
    } else {
        // do other stuff
    }
}
```

[ 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