EricJoy2048 commented on code in PR #4227:
URL: 
https://github.com/apache/incubator-seatunnel/pull/4227#discussion_r1118752115


##########
seatunnel-connectors-v2/connector-cdc/connector-cdc-base/src/main/java/org/apache/seatunnel/connectors/cdc/base/source/IncrementalSource.java:
##########
@@ -134,7 +134,7 @@ public SourceReader<T, SourceSplitBase> 
createReader(SourceReader.Context reader
         // create source config for the given subtask (e.g. unique server id)
         C sourceConfig = 
configFactory.create(readerContext.getIndexOfSubtask());
         BlockingQueue<RecordsWithSplitIds<SourceRecords>> elementsQueue =
-                new LinkedBlockingQueue<>(1024);
+                new LinkedBlockingQueue<>(2);

Review Comment:
   1024 is too big and may cause oom.



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