Skip to content

Conversation

@cameronlee314
Copy link
Contributor

@cameronlee314 cameronlee314 commented Nov 18, 2019

Except for the case noted below, the intention of this PR is to not change any functionality. The intention is to just migrate logic to Java.

#1199 intended to migrate Util.rewriteConfig to Java, but it also unintentionally changed some functionality (this PR changes the functionality back to the original functionality). That change applied each rewriter to the original config and then merged the results together. The original logic applied each rewriter to the rewritten result of the previous rewriter. Example cases where the overall rewritten result would be different: 1) one of the rewriters deletes a config (new code would do a merge so the config would not get deleted in the final result), 2) one rewriter depended on the result of another rewriter (new code would not allow rewriter to see results of previous rewriters).

Copy link
Contributor

@xinyuiscool xinyuiscool left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the clean up.

@cameronlee314 cameronlee314 merged commit 19a0581 into apache:master Dec 2, 2019
rmatharu-zz pushed a commit to rmatharu-zz/samza that referenced this pull request Jan 21, 2020
@cameronlee314 cameronlee314 deleted the util_scala branch November 17, 2021 23:25
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