[ https://issues.apache.org/jira/browse/NIFI-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648496#comment-15648496 ]
ASF GitHub Bot commented on NIFI-401: ------------------------------------- Github user JPercivall commented on a diff in the pull request: https://github.com/apache/nifi/pull/1185#discussion_r87060956 --- Diff: nifi-api/src/main/java/org/apache/nifi/scheduling/ExecutionNode.java --- @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.nifi.scheduling; + +/** + * Defines the Nodes where a given Component will be scheduled to run. + */ +public enum ExecutionNode { --- End diff -- Could you add documentation about this to the user guide (near "Scheduling Strategy")? > New Scheduling strategy (On primary node - CRON ) > ------------------------------------------------- > > Key: NIFI-401 > URL: https://issues.apache.org/jira/browse/NIFI-401 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework > Reporter: Matthew Clarke > Assignee: Matt Gilman > Fix For: 1.1.0 > > Attachments: initial prototype .png > > > Currently the only scheduling strategy supported when a processor is set to > use "On primary Node" is Timer Driven. There should be a second option to > allow cron driven On primary Node scheduling strategy. This would allow > users to more control over when a given primary node only processor runs. > This would prevent these processors from running when configuration changes > or instance restarts occur. -- This message was sent by Atlassian JIRA (v6.3.4#6332)