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

Add support for GET request in ListenHTTP for health check

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.13.0
    • Extensions
    • None

    Description

      Add support for GET request in ListenHTTP processor, so that when put behind a load balancer, the LB can make a health check to verify that the service is available.
      The health check service should be available on <ListenHTTP_service_URI>/healthcheck.
      It should be available via the listening port specified in the processor's property, but it should optionally be configured to be available on a different port.
      Accessing the health check service via a dedicated port should use 1-way SSL at most, even if the main service uses 2-way SSL, since some load balancers do not support client certificate handling:
       - If the processor is set not to use SSL, SSL should not be used on the health check port, either.
       - If the processor is set to use one-way SSL, one-way SSL should be used on the health check port.
       - If the processor is set to use two-way SSL, one-way SSL should be used on the health check port.

      Attachments

        Issue Links

          Activity

            People

              pgyori Peter Gyori
              pgyori Peter Gyori
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 3h
                  3h