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/EventSourceStartPriority.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,15 @@
2
2
3
3
publicenumEventSourceStartPriority {
4
4
5
+
/**
6
+
* Event Sources with this priority are started and synced before the event source with DEFAULT
7
+
* priority. The use case to use this, if the event source holds an information regarding the
8
+
* state of a resource. For example a ConfigMap would store an ID of an external resource, in this
9
+
* case an event source that tracks the external resource might need this ID (event before the
10
+
* reconciliation) to check the state of the external resource. The only way to ensure that the ID
11
+
* is already cached is to start/sync related event source before the event source of the external
0 commit comments