We would throw the NPE later on when `restoreRecords` is actually called, which 
is what currently happens with the `WrappedBatchingStateRestoreCallback`.

Would you feel better to surface the NPE immediately with a check at the 
beginning of `adapt`?

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

Reply via email to