You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Steve Niemitz (JIRA)" <ji...@apache.org> on 2019/07/11 14:28:00 UTC

[jira] [Commented] (BEAM-7718) PubsubIO to use gRPC API instead of JSON REST API

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

Steve Niemitz commented on BEAM-7718:
-------------------------------------

One thing I did notice using the gRPC client is that there are a lot of spurious DEADLINE_EXCEEDED errors from the pull() call timing out after 15 seconds if no messages have arrived.  This seems safe to ignore?

> PubsubIO to use gRPC API instead of JSON REST API
> -------------------------------------------------
>
>                 Key: BEAM-7718
>                 URL: https://issues.apache.org/jira/browse/BEAM-7718
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-java-gcp
>            Reporter: Steve Niemitz
>            Priority: Major
>
> {quote}The default implementation uses the HTTP REST API, which seems to be much less performant than the gRPC implementation.  Is there a reason that the gRPC implementation is essentially unavailable from the public API?  PubsubIO.Read.withClientFactory is package private.  I worked around this by making it public and rebuilding{quote}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)