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

Mukul Murthy updated SPARK-26046:
---------------------------------
    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.  (was: 
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]).
 )

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to