[
https://issues.apache.org/jira/browse/FLINK-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Nowojski closed FLINK-5241.
---------------------------------
Resolution: Won't Fix
I don't see a clear motivation to provide this improvement, so I'm closing it
with won't fix for the time being. Please feel free to re-open and provide a
motivation if you think this improvement is valid.
> Introduce AbstractStreamOperator get CloseableRegistry
> ------------------------------------------------------
>
> Key: FLINK-5241
> URL: https://issues.apache.org/jira/browse/FLINK-5241
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Task
> Affects Versions: 1.2.0
> Reporter: Till Rohrmann
> Priority: Minor
>
> At the moment, all {{AbstractStreamOperator}} register their {{Closeables}}
> at the containing {{StreamTask's}} {{CloseableRegistry}}. In order to
> separate the closing of stream operator specific {{Closeables}} it might make
> sense to instantiate a {{CloseableRegistry}} for each
> {{AbstractStreamOperator}} and registering this registry at the
> {{StreamTask's}} registry. That way the {{AbstractStreamOperator}} can close
> it's own {{Closeables}} without affecting other {{AbstractStreamOperators}}
> and not having to wait for the {{StreamTask}} to close by closing its own
> {{CloseableRegistry}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)