You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Alberto Gomez (Jira)" <ji...@apache.org> on 2022/05/31 12:07:00 UTC

[jira] [Created] (GEODE-10346) Correct batch-time-interval description in documentation

Alberto Gomez created GEODE-10346:
-------------------------------------

             Summary: Correct batch-time-interval description in documentation
                 Key: GEODE-10346
                 URL: https://issues.apache.org/jira/browse/GEODE-10346
             Project: Geode
          Issue Type: Bug
          Components: docs, wan
            Reporter: Alberto Gomez


The description of the batch-time-interval parameter for the Gateway Sender in the Geode documentation states the following:
"Maximum amount of time, in ms, that can elapse before a batch is delivered."

Nevertheless, that is not completely true.

The number of ms that can elapse before a batch is delivered could be longer than what is configured in batch-time-interval in the case that the batch being created has not yet reached the value of max-batch-size and there are still events in the gateway sender's queue to be added to the batch. If that is the case, new events will keep being added to the batch without taking into account the value for batch-time-interval.

The batch-time-interval parameter is only used when the batch being filled has not reached the max-batch-size but there are no events in the queue. In that case, in order not to delay the delivery of the batch until there are events in the queue, this value is used to determine if the batch must be sent.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)