This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-4.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.14.x by this push:
     new f49186b05e82 [backport camel-4.14.x] CAMEL-24343: 
camel-google-calendar - stop the stream consumer from skipping events (#25386)
f49186b05e82 is described below

commit f49186b05e824f061e90cc502d85bc133f0c2ad2
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Aug 6 14:41:33 2026 +0200

    [backport camel-4.14.x] CAMEL-24343: camel-google-calendar - stop the 
stream consumer from skipping events (#25386)
    
    CAMEL-24343: camel-google-calendar - stop the stream consumer from skipping 
events (#25352)
    
    With considerLastUpdate the consumer moved its updatedMin cursor to the 
local
    clock whenever a poll returned nothing, so every event modified between the 
two
    polls was filtered out and never delivered. On a non-empty poll it moved the
    cursor one second past the newest event instead, which dropped everything
    modified within that same second.
    
    The cursor is now the update time of the newest event actually delivered, 
and
    the ids seen at that exact instant are remembered so the inclusive 
updatedMin
    filter does not deliver them twice.
    
    Also replaces the unbounded self-recursion on an invalid sync token (HTTP 
410)
    with a single full re-sync, and guards the item list of the response, which 
is
    null when the calendar returns no events.
    
    
    
    (cherry picked from commit ab77bb5ee23beabce32d6c9588ea2e66fd6d834f)
    
    Signed-off-by: Andrea Cosentino <[email protected]>
    Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

Reply via email to