nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bronislav Jitnikov <>
Subject Re: Variables to start a NiFi flow
Date Fri, 30 Aug 2019 04:53:12 GMT
Variable Registry it is not what you need as I think. In similar case I
generate flow files with tables in Atribute that I need to scan and pass it
as upstream to SQL Processor.
For example.
GenerateFlowFile (list of tables in content) (Or Read list of tables from
File, Varibale registry etc..)
SplitContent (To individual tables)
Get content with table name to Attribute
and put it to your PG as Upstream to SQL

пн, 26 авг. 2019 г. в 19:30, Bimal Mehta <>:

> Hi,
> We have a data flow which extracts data from source database table and
> loads into target hive table. This flow needs to  run several times in a
> day to get delta records from source table and also for multiple tables .
> Now we need to replicate this same process for all the different source
> tables. So rather than creating multiple data flows for each separate
> table, can I use the existing flow and pass parameters like source table
> name to that flow and the flow starts. Basically looking for an interface
> where the user can pass the table names that we want to load at a given
> point in time  and the flow is triggered for that table. Variable Registry
> comes to mind, but I am not sure how to make it work for this use case. We
> are using NiFi 1.9.0  as part of CDF bundle.
> Thanks
> Bimal Mehta

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message