You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2020/05/30 01:36:00 UTC

[jira] [Commented] (RATIS-958) Support multiple requests in a single MessageOutputStream

    [ https://issues.apache.org/jira/browse/RATIS-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120056#comment-17120056 ] 

Tsz-wo Sze commented on RATIS-958:
----------------------------------

We propose adding an endOfRequest parameter in sendAsync as below.
{code:java}
//MessageOutputStream
  CompletableFuture<RaftClientReply> sendAsync(Message message, boolean endOfRequest);
{code}

> Support multiple requests in a single MessageOutputStream
> ---------------------------------------------------------
>
>                 Key: RATIS-958
>                 URL: https://issues.apache.org/jira/browse/RATIS-958
>             Project: Ratis
>          Issue Type: Improvement
>          Components: client, server
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> Currently, MessageOutputStream only support one request per stream.  In this JIRA, we will change it to support multiple requests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)