[
https://issues.apache.org/jira/browse/MINIFICPP-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030597#comment-17030597
]
Marton Szasz commented on MINIFICPP-1145:
-----------------------------------------
I'm more in favor of reusing code through delegation rather than inheritance.
https://en.wikipedia.org/wiki/Composition_over_inheritance
> Create a common RocksdbRepository baseclass
> -------------------------------------------
>
> Key: MINIFICPP-1145
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1145
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Affects Versions: 0.7.0
> Reporter: Arpad Boda
> Assignee: Arpad Boda
> Priority: Major
> Fix For: 0.8.0
>
>
> As MINIFICPP-1126 and MINIFICPP-1127 highlighted there is a lot in common in
> Provenance and FlowFile repositories.
> Rocksdb-based content repo and the planned rocksdb-based processor state
> storage would also result in some code duplication.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)