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

MiNiFi/C2 - Support access via LB / Proxy

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M1, 1.22.0
    • C2, MiNiFi

    Description

      While the Heartbeat and Acknowledge communication from the agents can be configured via reverse proxy / load balancer currently the agents are not aware of the host

      For flow and asset download full urls are generated in the operation requests by the C2 server so the actual download happens via direct node access bypassing the proxy / LB.

      For backwards compatibility we are not touching the existing configuration. We could introduce 3 new properties:

      c2.rest.path.base=http://c2host/c2-server/api
      c2.rest.path.heartbeat=/heartbeat
      c2.rest.path.acknowledge=/acknowledge

      If these are set then use them if not then fall back to the old properties and parse the host from there

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            briansolo1985 Ferenc Kis
            briansolo1985 Ferenc Kis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 40m
                2h 40m

                Slack

                  Issue deployment