You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "runzhiwang (Jira)" <ji...@apache.org> on 2020/11/04 23:49:00 UTC

[jira] [Resolved] (RATIS-1129) Move out the RPC related APIs from DataStreamOutput

     [ https://issues.apache.org/jira/browse/RATIS-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

runzhiwang resolved RATIS-1129.
-------------------------------
    Resolution: Fixed

> Move out the RPC related APIs from DataStreamOutput
> ---------------------------------------------------
>
>                 Key: RATIS-1129
>                 URL: https://issues.apache.org/jira/browse/RATIS-1129
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: client, Streaming
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> DataStreamOutput is a public user API.  The rpc related APIs shown below should be moved out.
> {code}
> //DataStreamOutput.java
>   /** Get the future of the header request. */
>   CompletableFuture<DataStreamReply> getHeaderFuture();
>   /** Peer close asynchronously. */
>   CompletableFuture<DataStreamReply> closeForwardAsync();
>   /** Create a transaction asynchronously once the stream data is replicated to all servers */
>   CompletableFuture<DataStreamReply> startTransactionAsync();
> {code}



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