Grpc Max Retry attempt is hardcoded and not allowing to retry more than 5 if rp.MaxAttempts > 5 { // TODO(retry): Make the max maxAttempts configurable. rp.MaxAttempts = 5 }