You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/28 16:28:00 UTC

[jira] [Work logged] (BEAM-2660) Set PubsubIO batch size using builder

     [ https://issues.apache.org/jira/browse/BEAM-2660?focusedWorklogId=116885&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-116885 ]

ASF GitHub Bot logged work on BEAM-2660:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Jun/18 16:27
            Start Date: 28/Jun/18 16:27
    Worklog Time Spent: 10m 
      Work Description: kennknowles commented on issue #3619: [BEAM-2660] Set PubsubIO batch size using builder
URL: https://github.com/apache/beam/pull/3619#issuecomment-401094117
 
 
   We have turned on autoformatting of the codebase, which causes small conflicts across the board. You can probably safely rebase and just keep your changes. Like this:
   
   ```
   $ git rebase
   ... see some conflicts
   $ git diff
   ... confirmed that the conflicts are just autoformatting
   ... so we can just keep our changes are do our own autoformat
   $ git checkout --theirs --
   $ git add -u
   $ git rebase --continue
   $ ./gradlew spotlessJavaApply
   ```
   
   Please ping me if you run into any difficulty. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 116885)
    Time Spent: 20m  (was: 10m)

> Set PubsubIO batch size using builder
> -------------------------------------
>
>                 Key: BEAM-2660
>                 URL: https://issues.apache.org/jira/browse/BEAM-2660
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-gcp
>            Reporter: Carl McGraw
>            Assignee: Chamikara Jayalath
>            Priority: Major
>              Labels: gcp, java, pubsub, sdk
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> PubsubIO doesn't allow users to set the publish batch size. Instead the value is hard coded in both the BoundedPubsubWriter and the UnboundedPubsubSink. 
> google's pub/sub is bound to a maximum of 10mb per request size. My company has run into problems with events that are individually smaller than 1mb, but when batched in the 100 or 2000 default batch sizes causes pubsub to fail to send the event.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)