scwhittle commented on code in PR #28964:
URL: https://github.com/apache/beam/pull/28964#discussion_r1356932865


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsublite/internal/SubscribeTransform.java:
##########
@@ -56,7 +56,7 @@ public class SubscribeTransform extends PTransform<PBegin, 
PCollection<Sequenced
 
   private static final long MEBIBYTE = 1L << 20;
   private static final long SOFT_MEMORY_LIMIT = 512 * MEBIBYTE;
-  private static final long MIN_PER_PARTITION_MEMORY = 4 * MEBIBYTE;
+  private static final long MIN_PER_PARTITION_MEMORY = 10 * MEBIBYTE;

Review Comment:
   LGTM but would this be better as a pipeline option or something that could 
be configured on PubsubLiteIO?  There may perhaps be cases where the user wants 
to specify higher per-partition min/max or total memory limit.
   
   Not yet a committer though so someone else will have to merge



-- 
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]

Reply via email to