nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Bakai (JIRA)" <>
Subject [jira] [Created] (MINIFICPP-951) Revise streams and the corresponding API
Date Fri, 05 Jul 2019 13:03:01 GMT
Daniel Bakai created MINIFICPP-951:

             Summary: Revise streams and the corresponding API
                 Key: MINIFICPP-951
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Daniel Bakai

* We have a lot of different streams for different use-cases, and many of them contain copy-pasted
functions of the base class. A lot of duplicated code could be removed here
 * It would also be nice to introduce override for these given a lot of functions have very
much alike signature (for eg. writing different primitive data types), at least it could make
it more difficult to miss something.
 * Const correctness: the current implementations don’t handle the raw input ptr as const,
but the codes that use the streams mostly assume that the data written is not going to be
changed. I would prefer to have const interface and do a copy in the stream in case it cannot
be avoided. 

This message was sent by Atlassian JIRA

View raw message