Uploaded image for project: 'Flume (READ-ONLY)'
  1. Flume (READ-ONLY)
  2. FLUME-122

Make all Source/Sink/Decos API calls cancellable by throwing InterruptedExceptions

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v0.9.0, v0.9.1
    • Fix Version/s: v0.9.3
    • Component/s: Node
    • Labels:
      None

      Description

      Currently we have a mechanism for reconfiguring logicalnodes that has potential races and potential close/open delays. While they are rare, we should implemented them in a way that eliminate these problems.

      The proposal here is to add InterruptedExceptions to all Source/Sink/Deco open/close/next/append methods. This will allow decos that have sleeps/waits/joins etc be handled in a uniform way and hide these complexities from most external plugins. This however breaks the existing API.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jon Jonathan Hsieh
                Reporter:
                jon Jonathan Hsieh
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: