[ 
https://issues.apache.org/jira/browse/SPARK-26046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916570#comment-16916570
 ] 

Gabor Somogyi commented on SPARK-26046:
---------------------------------------

>From the author:
{quote}I think I'm trying to use this as a workaround for not properly keeping 
track of my streaming query listeners.{quote}
I think it can be closed.

> 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]).
>  



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

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

Reply via email to