Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event source started before events are processed (simple/naive syncing approach) #794

Merged
merged 11 commits into from
Jan 5, 2022

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Jan 5, 2022

No description provided.

@csviri csviri self-assigned this Jan 5, 2022
@csviri csviri changed the title Syncing event source Event source started before events are processed (simple/naive syncing approach) Jan 5, 2022
@csviri csviri requested a review from metacosm January 5, 2022 15:39
@csviri csviri marked this pull request as ready for review January 5, 2022 15:39
}

public void cleanup(ResourceID resourceID) {
eventingState.remove(resourceID);
}

public List<ResourceID> resourceIDSWithEventPresent() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public List<ResourceID> resourceIDSWithEventPresent() {
public List<ResourceID> resourceIDsWithEventPresent() {

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed.

@csviri csviri requested a review from metacosm January 5, 2022 16:33
@@ -0,0 +1,7 @@
package io.javaoperatorsdk.operator.processing.event.source;

public interface SyncingEventSource {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I don't see where that's being used?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm I though I deleted it, 1 sec

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleted.

@metacosm metacosm merged commit 2a9c4fe into main Jan 5, 2022
@metacosm metacosm deleted the syncing-event-source branch January 5, 2022 17:37
@csviri csviri linked an issue Jan 6, 2022 that may be closed by this pull request
@csviri csviri linked an issue Jan 6, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syncing Event Source on Startup Before Event Processing Starts
2 participants