Closed dshvedchenko closed 9 years ago
@FabioBatSilva ok, got your concern, moved wait to flush() body
have to reverse , as when ProcessRow signals that step finished, it disconnects its' eventListeners , and it stuck on waiting for steps finished
remove wait at all
still have trouble when moving wait from processRow
i prefer not to move it from ProcessRow, . when I moved kettle log says consumer step finished, but it still waited for ack/nack - and this situation will lead to incorrect understaning flow
found that kettle writes Finished event to log only after dispose() run, so I blocked dispose with this wait. tested with test-cases:
Cool !!
Now we can get rid of waitForConfirtmationStepsFinished
, watchedConfirmStep
and confirmStepListener
If you are done, after the clean up I'll do another round of review and we can merge it !!
I will miss them, please reconsider adding them, as with their presence we provide honest information
Can you please configure your editor/ide to use 4 spaces per indentation level and fix the places you are using 2 spaces or tabs ?
already, did , but in some places edited manualy
Next steps I propose to split plugin into two steps consumer and publisher and also move to pdi-plugin template structure - like in https://github.com/pentaho/pdi-sdk-plugins.git. I've done AWS SQS like that - and it is much better to build, debug and create in eclipse :)
Thanks @dshvedchenko, Nice feature !!
Would be nice to split it, i've been planning to do this a while..
Does the template also works with maven ? I know that is standard for pentaho but i hate ant/ivy
i do not know, i build and debug that plugin with eclipse
@dshvedchenko did a whole bunch of refactoring I might want to recompile and see if i didn't break anything..
Please, review proposed changes. uses cases covered