You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2020/10/19 12:43:00 UTC

[jira] [Resolved] (ARROW-10106) [FlightRPC][Java] Expose onIsReady() callback on OutboundStreamListener

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

David Li resolved ARROW-10106.
------------------------------
    Resolution: Fixed

Resolved by [https://github.com/apache/arrow/pull/8476|https://github.com/apache/arrow/pull/8476].

> [FlightRPC][Java] Expose onIsReady() callback on OutboundStreamListener
> -----------------------------------------------------------------------
>
>                 Key: ARROW-10106
>                 URL: https://issues.apache.org/jira/browse/ARROW-10106
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: FlightRPC, Java
>            Reporter: James Duong
>            Assignee: James Duong
>            Priority: Major
>              Labels: flight, pull-request-available
>             Fix For: 3.0.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> OutboundStreamListener has a method isReady() that FlightProducers need to poll during implementations of getStream() to avoid buffering too much data.
> An enhancement would be to allow setting a callback to run (for example, notifying a CountdownLatch) so that FlightProducer implementations don't need to busy wait.



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