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

Ztable support and convert transformation logic to state machine #1352

Merged
merged 84 commits into from
Dec 18, 2024

Conversation

akrambek
Copy link
Contributor

No description provided.

@akrambek akrambek requested a review from jfallows December 17, 2024 17:01
@akrambek akrambek marked this pull request as ready for review December 17, 2024 17:01
}

return state;
return onReadyHandler.onReady(traceId, authorization);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

onReadyHandler.ready( I think it will be better

Comment on lines 145 to 148
handler.doFlushProxy(traceId, authorization, flushEx);
onReadyHandler = terminateState;

return this;
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this return an error state instead, which calls handler.doReady(...) for onReady(...)?
Then I think we don't need to introduce a separate ready handler interface as the transition is captured by moving to a different state.

@jfallows jfallows merged commit 5fa520c into aklivity:develop Dec 18, 2024
5 checks passed
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.

2 participants