I consolidated the prior `WrappedBatchingStateRestoreCallback`, as well as an independent `getBatchingRestoreCallback` into this method.
This way, the logic is more centralized, and we also avoid creating an extra wrapper class if the `restoreCallback` is already of the desired type. [ Full content available at: https://github.com/apache/kafka/pull/5710 ] This message was relayed via gitbox.apache.org for [email protected]
