[
https://issues.apache.org/jira/browse/NIFI-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549150#comment-15549150
]
ASF GitHub Bot commented on NIFI-1526:
--------------------------------------
GitHub user mathiastiberghien opened a pull request:
https://github.com/apache/nifi/pull/1107
origin/NIFI-1526
This commit solves the issue 1526 adding DefaultSchedule and
DefaultSettings annotation to the nifi-api
This annotations are then use on Custom Processor classes and allows the
developer to configure the default
schedule (scheduling strategy, scheduling period, max concurrent tasks) and
settings (yield duration, penalty period, bulletin log level)
for the processor.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mathiastiberghien/nifi origin/NIFI-1526
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1107.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1107
----
commit df223a71afd34b75ca2d0e8cfaabc045de6c09dd
Author: Mathias Tiberghien <[email protected]>
Date: 2016-10-05T15:50:08Z
1 first commit for feature NIFI-1526
DefaultSchedule annotation should be use on Custom Processor to set the
default scheduling strategy, scheduling period or max number of concurrent task
for each instance of the processor
DefaultSettings annotation should be use on Custom Processor to set the
default penalty period, the yield duration or the bulletin log level for each
instance of the processor
----
> Allow components to provide default values for Yield Duration and Run Schedule
> ------------------------------------------------------------------------------
>
> Key: NIFI-1526
> URL: https://issues.apache.org/jira/browse/NIFI-1526
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Bryan Bende
> Priority: Minor
>
> It would be nice for developers of processors (and maybe reporting tasks and
> controller services) to be able to specify a default value for Yield duration
> and Run Schedule.
> Currently Yield defaults to 1 second and Run Schedule defaults to 0 seconds.
> There may be cases where these are not the best default values and the
> developer wants to start off with better defaults, still allowing the user to
> tune as needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)