You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mukul Murthy (Jira)" <ji...@apache.org> on 2019/08/30 22:44:00 UTC
[jira] [Reopened] (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 ]
Mukul Murthy reopened SPARK-26046:
----------------------------------
From some other discussions I've had, I actually think it's a reasonable to have a way to remove all listeners. I don't think it should be a removeAllListeners API, as originally discussed, but StreamingQueryManager could have a listListeners API which the caller could then choose to use to remove each listener manually.
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org