Github user phrocker commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/295
  
    I've been thinking more about this @minifirocks . I'm curious about the 
inception of this idea. I see that there is coupling amongst components that 
probably don't have a need to know for the metadata. In my opinion if you are 
putting the information in the attributes then it is potentially removable 
anyway, so why not use a Processor? If it's an immutable structure within the 
flow file then it makes sense to do it at construction -- and not in the 
attributes. 
    
    Further, any reason to use shared pointers for much of that meta 
information? Ownership seems like it would be well defined and thus should be 
coupled to the lifetime of that object. Move semantics (IMO) make more sense 
with that type of component lifetime, further compounded by the fact that they 
could be immutable. 


---

Reply via email to