skip to Main Content

MongoDB: Difference between resumeAt and resumeToken in change streams

What is the difference b/w the behavior of resumeAt that accepts a timestamp to resume the notifications from vs resumeToken that accepts the resume token? return ChangeStreamOptions.builder() .filter(Aggregation.newAggregation(Example.class, matchOperationType)) .resumeAt(Instant.ofEpochSecond(1675303335)) // this is simply a unix timestamp .resumeToken(tokenDoc) // resume…

VIEW QUESTION
Back To Top
Search