You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by pradeepbill <pr...@gmail.com> on 2016/07/04 15:28:46 UTC

flow files size

hi there, is there a way to control the size of flow files using a
processor/connection or some other way ?, I need a fixed size of flow files
per interval going to my output port.Please advice.

Thanks
Pradeep



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/flow-files-size-tp12556.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Re: flow files size

Posted by pradeepbill <pr...@gmail.com>.
thanks Joe and Joe ,  Control rate seems to work fine for me.



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/flow-files-size-tp12556p12568.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Re: flow files size

Posted by Joe Witt <jo...@gmail.com>.
ControlRate may also apply for your case.
On Jul 4, 2016 9:56 AM, "Joe Percivall" <jo...@yahoo.com.invalid>
wrote:

> Hello Pradeep,
>
> You should be able to use the SegmentContent processor[1] to split up the
> FlowFile into set sizes. Then use MergeContent[2] to merge them back
> together if needed.
>
> [1]
> https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.SegmentContent/index.html
> [2]
> https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.MergeContent/index.html
>
> Joe
>
> - - - - - -
> Joseph Percivall
> linkedin.com/in/Percivall
> e: joepercivall@yahoo.com
>
>
>
> On Monday, July 4, 2016 12:39 PM, pradeepbill <pr...@gmail.com>
> wrote:
>
>
>
> hi there, is there a way to control the size of flow files using a
> processor/connection or some other way ?, I need a fixed size of flow files
> per interval going to my output port.Please advice.
>
> Thanks
> Pradeep
>
>
>
> --
> View this message in context:
> http://apache-nifi-developer-list.39713.n7.nabble.com/flow-files-size-tp12556.html
> Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>

Re: flow files size

Posted by Joe Percivall <jo...@yahoo.com.INVALID>.
Hello Pradeep,

You should be able to use the SegmentContent processor[1] to split up the FlowFile into set sizes. Then use MergeContent[2] to merge them back together if needed.

[1] https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.SegmentContent/index.html
[2] https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.MergeContent/index.html
 
Joe

- - - - - - 
Joseph Percivall
linkedin.com/in/Percivall
e: joepercivall@yahoo.com



On Monday, July 4, 2016 12:39 PM, pradeepbill <pr...@gmail.com> wrote:



hi there, is there a way to control the size of flow files using a
processor/connection or some other way ?, I need a fixed size of flow files
per interval going to my output port.Please advice.

Thanks
Pradeep



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/flow-files-size-tp12556.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.