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

ConnectWebSocket leaks connections and duplicates FlowFiles in incoming connection mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.15.0, 1.15.1, 1.15.2
    • 1.17.0
    • Extensions
    • None

    Description

      NIFI-8639 introduced input connection for ConnectWebSocket in order to be able to configure the websocket connection via FlowFile attributes.

      But ConnectWebSocket handles the connections improperly: Once a new FF is received, it opens a new websocket connection but does not close the old one. It means that multiple connections are maintained and when the websocket server sends something, we get duplicated FlowFiles from ConnectWebSocket.

      Attachments

        Issue Links

          Activity

            People

              Lehel44 Lehel Boér
              turcsanyip Peter Turcsanyi
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 50m
                  1h 50m