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

SAMZA-2094: Implement the StartpointVisitor for KafkaSystemConsumer. #901

Closed
wants to merge 5 commits into from

Conversation

shanthoosh
Copy link
Contributor

No description provided.

@shanthoosh
Copy link
Contributor Author

shanthoosh commented Feb 1, 2019

@cameronlee314 @dnishimura
Please take a look when you have a chance.

@cameronlee314
Copy link
Contributor

Please take a look at the comment #869 (comment) regarding not having KafkaSystemConsumer directly implement StartpointVisitor.

@shanthoosh
Copy link
Contributor Author

@cameronlee314 Thanks for the review. Addressed the comment.

@@ -330,6 +341,57 @@ public String getSystemName() {
return systemName;
}

@VisibleForTesting
static class KafkaStartpointVisitor implements StartpointVisitor {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please change the name to indicate it is responsible for startpoint registration? "StartpointVisitor" can be anything that needs to act on a Startpoint, so just using KafkaStartpointVisitor isn't specific enough.

Copy link
Contributor Author

@shanthoosh shanthoosh left a comment

Choose a reason for hiding this comment

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

Thanks for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants