Creates a new CommitRecoveryException indicating that offset commit recovery was attempted attempts times for offsets but that it wasn't able to complete successfully.
Creates a new CommitRecoveryException indicating that offset commit recovery was attempted attempts times for offsets but that it wasn't able to complete successfully. The last exception encountered was lastException.