You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/informer/InformerEventSource.java
Copy file name to clipboardExpand all lines: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/informer/TemporaryResourceCache.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,15 @@
48
48
*
49
49
* <p>If comparable resource versions are disabled, then this cache is effectively disabled.
50
50
*
51
+
* <p>Some principles to realize with the current filtering algorithm:
52
+
*
53
+
* <ul>
54
+
* <li>We propagate events only if we received an event that has the same resourceVersion or newer
55
+
* than resource version from update
56
+
* <li>The propagated event should correspond to a possible real world scenario - considering also
57
+
* ones that could happen is the Informer does a re-list.
Copy file name to clipboardExpand all lines: operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/source/informer/InformerEventSourceTest.java
0 commit comments