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

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

                Author: ASF GitHub Bot
            Created on: 21/Mar/22 14:22
            Start Date: 21/Mar/22 14:22
    Worklog Time Spent: 10m 
      Work Description: dpcollins-google commented on a change in pull request 
#17125:
URL: https://github.com/apache/beam/pull/17125#discussion_r831164045



##########
File path: 
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsublite/internal/SubscribeTransform.java
##########
@@ -38,12 +39,16 @@
 import org.apache.beam.sdk.transforms.splittabledofn.RestrictionTracker;
 import org.apache.beam.sdk.values.PBegin;
 import org.apache.beam.sdk.values.PCollection;
-import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Stopwatch;
-import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.math.LongMath;
 import org.joda.time.Duration;
 
 public class SubscribeTransform extends PTransform<PBegin, 
PCollection<SequencedMessage>> {
   private static final long MEBIBYTE = 1L << 20;
+  private static final long SOFT_MEMORY_LIMIT = 512 * MEBIBYTE;

Review comment:
       It can't be a pipeline option if we want it to be static without 
creating a cache for it templated on some key that is a unique pipeline 
identifier; I think its better to leave as a constant for now.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 745122)
    Time Spent: 2h 10m  (was: 2h)

> Fix issues with Pub/Sub Lite IO at high volumes
> -----------------------------------------------
>
>                 Key: BEAM-14129
>                 URL: https://issues.apache.org/jira/browse/BEAM-14129
>             Project: Beam
>          Issue Type: Task
>          Components: io-java-gcp
>            Reporter: Daniel Collins
>            Assignee: Daniel Collins
>            Priority: P1
>             Fix For: 2.38.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to