Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26046

Add a way for StreamingQueryManager to remove all listeners

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 3.0.0
    • Structured Streaming
    • None

    Description

      StreamingQueryManager should have a way to clear out all listeners. There's addListener(listener) and removeListener(listener), but not removeAllListeners. We should expose a new method removeAllListeners() that calls listenerBus.removeAllListeners (added here: https://github.com/apache/spark/commit/9690eba16efe6d25261934d8b73a221972b684f3) listListeners() that can be used to remove listeners.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mukulmurthy Mukul Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: