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/26 02:14:00 UTC

[jira] [Resolved] (RATIS-1179) Add a new API to DataStreamOutput for sending a File

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

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

> Add a new API to DataStreamOutput for sending a File
> ----------------------------------------------------
>
>                 Key: RATIS-1179
>                 URL: https://issues.apache.org/jira/browse/RATIS-1179
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: Streaming
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> As discussed in RATIS-1176, there are more efficient APIs for sending out files, e.g. using Netty DefaultFileRegion.  This JIRA is to add a new API to DataStreamOutput for writing a File
> {code}
>  CompletableFuture<DataStreamReply> writeAsync(File);
> {code}



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