gaoran10 commented on a change in pull request #9628:
URL: https://github.com/apache/pulsar/pull/9628#discussion_r584327440



##########
File path: 
pulsar-sql/presto-pulsar/src/main/java/org/apache/pulsar/sql/presto/PulsarRecordCursor.java
##########
@@ -136,6 +137,10 @@ public PulsarRecordCursor(List<PulsarColumnHandle> 
columnHandles, PulsarSplit pu
                         pulsarConnectorConfig),
                 new 
PulsarConnectorMetricsTracker(pulsarConnectorCache.getStatsProvider()));
         this.decoderFactory = decoderFactory;
+        if (pulsarConnectorConfig.getMaxSplitEntryQueueSizeBytes() >= 0) {

Review comment:
       If the config value is 0, there will be only one entry in the entry 
queue.




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

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


Reply via email to