Uploaded image for project: 'Apache Apex Core'
  1. Apache Apex Core
  2. APEXCORE-510

Enforce DefaultOutputPort.emit() or Sink.put() thread affinity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 3.5.0
    • None
    • None

    Description

      Apex platform assumes that an operator interacts with the platform using the dedicated operator thread. Currently, operators may create worker threads and emit tuples from a worker thread. This leads to undefined behavior and hard to find bugs, so it should be possible to enforce that DefaultOutputPort.emit() and/or Sink.put() are called on the operator thread.

      Attachments

        Issue Links

          Activity

            People

              sanjaypujare Sanjay M Pujare
              vrozov Vlad Rozov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: