You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by l vic <lv...@gmail.com> on 2018/11/02 15:28:02 UTC
flowfile duplication?
Hello,
I need to create 2 independent paths of execution for the same data (
message consumed from kafka topic).... One path would save it to one db
table, another would be used to perform some computations on attributes and
save it to another table. I wonder if DuplicateFlowFile can be used for
that.... It looks as it creates several copies in each path of execution.
Would any other processor be a better option?
Thank you,
V
Re: flowfile duplication?
Posted by Bryan Bende <bb...@gmail.com>.
Hello,
You can just connect the success relationship of ConsumeKafka (or any
processor) to two different follow on processors, no need to use any
special processor to duplicate.
-Bryan
On Fri, Nov 2, 2018 at 11:28 AM l vic <lv...@gmail.com> wrote:
>
> Hello,
> I need to create 2 independent paths of execution for the same data ( message consumed from kafka topic).... One path would save it to one db table, another would be used to perform some computations on attributes and save it to another table. I wonder if DuplicateFlowFile can be used for that.... It looks as it creates several copies in each path of execution. Would any other processor be a better option?
> Thank you,
> V