MINOR: Fix bug where StoreBuilder added after connecting store with processor - #5737
MINOR: Fix bug where StoreBuilder added after connecting store with processor#5737bbejeck wants to merge 1 commit into
Conversation
|
ping @guozhangwang @mjsax @vvcephei |
|
@bbejeck My understanding is that, generally:
And inside The unit test you added, is calling on And as long as we make sure 1) and 2) are mutual exclusive I think this should be fine? |
|
That is correct, as I think about it more as I stated in the slack channel, in practice we'll only get either store names or a store builder passed in. Should I just close this PR? |
Yeah, if you agree with my reasoning I think this is not an issue then. |
|
Yes I do agree, closing this PR |
In recent PRs, we have been confused about the proper usage of StatefulProcessorNode (apache#5731 , apache#5737 ) This change disambiguates it. Reviewers: Matthias J. Sax <matthias@confluent.io>, Bill Bejeck <bill@confluent.io>, Guozhang Wang <guozhang@confluent.io>
In recent PRs, we have been confused about the proper usage of StatefulProcessorNode (apache#5731 , apache#5737 ) This change disambiguates it. Reviewers: Matthias J. Sax <matthias@confluent.io>, Bill Bejeck <bill@confluent.io>, Guozhang Wang <guozhang@confluent.io>
Fixes bug found in #5731 where we add a state store to the processor before adding the state store to the
InternalTopologyBuilderI've added a test which fails without this fix.
Committer Checklist (excluded from commit message)