You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jeremy Ross (Jira)" <ji...@apache.org> on 2021/11/13 18:01:00 UTC

[jira] [Commented] (CAMEL-13170) Starting Salesforce pushtopic with initialReplayIdMap set to a value will eventually break after 24 hours.

    [ https://issues.apache.org/jira/browse/CAMEL-13170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17443156#comment-17443156 ] 

Jeremy Ross commented on CAMEL-13170:
-------------------------------------

[~hnguyen15] Just pushed a commit for this. Please test with 3.14.0-SNAPSHOT and let me know if this helps.

> Starting Salesforce pushtopic with initialReplayIdMap set to a value will eventually break after 24 hours.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-13170
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13170
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>    Affects Versions: 2.23.1
>            Reporter: Huy Nguyen
>            Priority: Major
>              Labels: salesforce
>
> [~zregvart] [~lb]
> In version 2.23.1 when I set initialReplayIdMap to a value when the route starts everything behave like normal and I am fine with the replays. I'm getting an issue every time the route re-subscribes it tries to replay from the map again. The initialReplayIdMap needs to zero out (don't see any code that modifies the initialReplayIdMap) so we can default to -1 so we can wait for new replay ids. Eventually if i leave the route on for over 24 hours it eventually breaks because the replay id 24h time to live and the push topics stops working.
> Something must have happened in Salesforce cause I saw the same issue in the salesforce java forcedotcom/emp-connector . The issue was reported and fixed here. 
> https://github.com/forcedotcom/EMP-Connector/issues/39
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)