-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Atlas Streams
-
Fully Compatible
-
ALL
-
Sprint 65, Sprint 66, Sprint 67
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We mark the source as idle based on this check:
if (!changeEvent && !eventResumeToken) { _isIdle.store(true); return false; }
However, eventResumeToken will always be non-null since the underlying _change_stream_ object will always return the last resumeToken it has.
This check needs to be enhanced so that it does a comparison between the currently obtained resumeToken and the previously obtained value and that decides if we have a "new" resumeToken or not.