nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ijokarumawak <>
Subject [GitHub] nifi issue #1450: NIFI-3339b Add getDataSource() to DBCPService, second vers...
Date Tue, 07 Feb 2017 00:43:59 GMT
Github user ijokarumawak commented on the issue:
    @mattyb149 Thanks for sharing your use case. That's interesting.
    Why does your processor need DBCPService's URL? For provenance? If so, I'd prefer creating
another interface looks like below:
    public interface ExternalSource {
        String getTransitUri();
    Then add the interface to ControllerServices that interact with external source such as
DBCPService, so that processors use those controller services can create more meaningful provenance
events. For DBCPService, DatabaseConnectionURL would be legitimate for a return value of getTransitUri
    Or, if you need to use the same configuration among ControllerService and Processor, then
VariableRegistry can be helpful.
    How do you think?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message