Re: [DISCUSS] Feature proposal: First-class Avro Support

2015-08-15 Thread Bryan Bende
Ryan, Thanks for the feedback and suggestions! We will definitely factor all of this into the design, and when I get a chance I will update the Wiki page accordingly. Thanks, Bryan On Sat, Aug 15, 2015 at 5:45 PM, Ryan Blue b...@cloudera.com wrote: On 08/12/2015 06:09 PM, Bryan Bende wrote:

Re: [DISCUSS] Feature proposal: First-class Avro Support

2015-08-15 Thread Ryan Blue
On 08/12/2015 06:09 PM, Bryan Bende wrote: All, Given how popular Avro has become, I'm very interested in making progress on providing first-class support with in NiFi. I took a stab at filling in some of the requirements on the Feature Proposal Wiki page [1] and wanted to get feedback from

RE: Writing to a flowfile

2015-08-15 Thread Mark Payne
Dave, Not a problem. The FlowFile object itself is immutable. If you want to modify the FlowFile, you do so by asking  the session to give you a new version of the FlowFile with some update. For instance, by adding  an attribute or changing the content of the FlowFile. So any call to

Re: eliminate nifi-parent, split out nifi-nar-maven-plugin, have nifi in its own tree

2015-08-15 Thread Joe Witt
All, This effort as tracked under NIFI-850 is completed. The infra tickets were handled in like 5 minutes (woot infra!). Today I moved nifi-nar-maven-plugin folder contents into the repo of nifi-maven and moved nifi-site folder contents into nifi-site repo. After that the nifi-parent items

RE: Writing to a flowfile

2015-08-15 Thread Mark Payne
David, In this case, since you want to keep the original intact, you will need to create a 'child' flowfile to write to. You do this with ProcessSession.create(FlowFile) So you will have code that looks something like this: final FlowFile original = session.get(); if (original == null) {