Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2267

Provide a way for Processor to determine running NiFi node type - standalone/clustered, primary/node

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0, 1.0.0-Beta
    • Core Framework
    • None

    Description

      Currently, there's no way for processor to understand if it's running on:

      • Standalone or Cluster?
      • If in a cluster, is it a Primary node or not?

      There're processors that need this information to provide more cluster friendly behavior, such as MonitorActivity.

      @OnPrimaryNodeStateChange annotation is already available. However, it's notified only when a primary node has been changed. So, If a processor is added to an existing NiFi cluster, which has already one node elected as a primary node, the processor is not notified, thus it won't be able to know it's a primary node.

      This ticket is meant for tracking the effort of adding such capability to provide node type information.

      Attachments

        Issue Links

          Activity

            People

              ijokarumawak Koji Kawamura
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: