alopresto commented on issue #3968: NIFI-3383 Implemented encrypted flowfile 
repository
URL: https://github.com/apache/nifi/pull/3968#issuecomment-572299054
 
 
   As mentioned, most of the actual logic is contained in the 
`EncryptedSchemaRepositoryRecordSerde` class which is a 
*ser*ializer/*de*serializer for Java objects (the representation of a flowfile 
aka `RepositoryRecord`) to the repository on the file system (`byte[]` output 
to a `journal` or `checkpoint` file). By intercepting the read/write process, 
delegating the normal schema-based serialization from object to bytes to the 
existing serde, and then encrypting/decrypting those bytes, we maintain all the 
benefits of the existing implementation, introduce very little change, and 
allow for future enhancement & flexibility. 
   
   Any methods I added should have clear Javadoc explaining their purpose and 
usage, and should be covered by unit tests. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to