You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jose Torres (Jira)" <ji...@apache.org> on 2019/09/05 21:30:00 UTC

[jira] [Resolved] (SPARK-26046) Add a way for StreamingQueryManager to remove all listeners

     [ https://issues.apache.org/jira/browse/SPARK-26046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jose Torres resolved SPARK-26046.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 25518
[https://github.com/apache/spark/pull/25518]

> Add a way for StreamingQueryManager to remove all listeners
> -----------------------------------------------------------
>
>                 Key: SPARK-26046
>                 URL: https://issues.apache.org/jira/browse/SPARK-26046
>             Project: Spark
>          Issue Type: Task
>          Components: Structured Streaming
>    Affects Versions: 2.4.0
>            Reporter: Mukul Murthy
>            Priority: Major
>             Fix For: 3.0.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org