public override async Task <BroadcastFailureResponse> BroadcastFailure(BroadcastFailureRequest request, ServerCallContext context) { await dispatcher.OnBroadcastFailure(ParseBroadcastFailureRequest(request)); return(new BroadcastFailureResponse { }); }
private BroadcastFailureArguments ParseBroadcastFailureRequest( BroadcastFailureRequest request) { return(new BroadcastFailureArguments { PartitionId = request.PartitionId, MessageId = BuildMessageId(request.MessageId), FailedServerId = request.FailedServerId }); }