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

Auto reconnect ConsumeWindowsEventLog if no log is consumed for configured time period

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.8.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      While ConsumeWindowsEventLog is running, if Windows Event Log service is restarted, or ERROR_EVT_QUERY_RESULT_STALE (15011) is returned, the processor keeps running, but will not receive further log events.

      Current work-around is restarting the processor manually.

      We could implement auto-reconnect logic like below, so that the processor can recover from such situation automatically.

      • Add a new processor property, ''Inactive duration to reconnect", e.g. "3 mins"
      • At onTrigger, check how long has it passed since the last message was received. If it exceeds the configured duration, reset the consumer

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: