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

KAFKA-3922: add constructor to AbstractStream class #1581

Closed
wants to merge 1 commit into from

Conversation

fhussonnois
Copy link
Contributor

@fhussonnois fhussonnois commented Jul 3, 2016

https://issues.apache.org/jira/browse/KAFKA-3922

KAFKA-3922 add copy-constructor to AbstractStream class
This copy-constructor allow to access protected variables from subclasses.

It should be used to extend KStreamImpl and KTableImpl classes by implementing a decorator pattern.

@guozhangwang
Copy link
Contributor

LGTM overall.

Could you change your comment to have a more meaningful description since it will be included in the commit log?

This copy-constructor allow to access protected variables from
subclasses.

It should be used to extend KStreamImpl and KTableImpl classes by
implementing a decorator pattern.
asfgit pushed a commit that referenced this pull request Jul 19, 2016
https://issues.apache.org/jira/browse/KAFKA-3922

KAFKA-3922 add copy-constructor to AbstractStream class
This copy-constructor allow to access protected variables from subclasses.

It should be used to extend KStreamImpl and KTableImpl classes by implementing a decorator pattern.

Author: Florian Hussonnois <florian.hussonnois@gmail.com>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #1581 from fhussonnois/KAFKA-3922

(cherry picked from commit b418922)
Signed-off-by: Guozhang Wang <wangguoz@gmail.com>
@asfgit asfgit closed this in b418922 Jul 19, 2016
@guozhangwang
Copy link
Contributor

LGTM. Merged to trunk and 0.10.0, thanks @fhussonnois !

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