Every EventSource should be a ResourceEventSource
Currently even for inbound event sources that is support for event triggering the reconciliation where the event does not contain the actual resource we have a supporting class that actually fetches the resource (within the event source):
https://github.com/java-operator-sdk/java-operator-sdk/blob/47ef983dd4135a05fd6c2cd0650cf0eda1fd3c8e/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/inbound/CachingInboundEventSource.java
The question is if it makes sense to even have a non resource event source. Probably not. We have to discuss this, and probably change (thus move the API of ResourceEventSource to EventSource) for next major version .
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.