Skip to content

Every EventSource should be a ResourceEventSource #2107

Closed
@csviri

Description

@csviri

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions